-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
With the earlier version, you could use this docker image in a Dockerfile, e.g.
FROM ghcr.io/bwbohl/sencha-cmd
... etc ...
RUN sencha app build production
This no longer works, as the sencha command is only added to the PATH when you launch bash within the image.
(By default, Docker uses sh to execute RUN commands.)
It can be worked around by using the full path in the RUN command:
RUN /opt/Sencha/Cmd/sencha app build production
If this is the only solution, it should probably be documented.
I also tried telling Docker to use bash as the default execution shell:
SHELL ["/bin/bash", "-c"]
But this did not help, as it seems like .bashrc (where the PATH is updated) is not used when launching commands like this.
Metadata
Metadata
Assignees
Labels
No labels