mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
mark run file as executable
This commit is contained in:
parent
6aad9956ce
commit
1444d72b56
|
@ -36,7 +36,6 @@ RUN apt -y install sudo zsh
|
||||||
RUN apt -y dist-upgrade
|
RUN apt -y dist-upgrade
|
||||||
RUN mkdir -p build-sol2/Debug build-sol2/Release
|
RUN mkdir -p build-sol2/Debug build-sol2/Release
|
||||||
RUN chmod +x /sol2/scripts/preparation.linux.sh
|
RUN chmod +x /sol2/scripts/preparation.linux.sh
|
||||||
RUN chmod +x /sol2/scripts/run.linux.sh
|
|
||||||
RUN ["/usr/bin/env", "zsh", "-c", "./sol2/scripts/preparation.linux.sh"]
|
RUN ["/usr/bin/env", "zsh", "-c", "./sol2/scripts/preparation.linux.sh"]
|
||||||
# CMD/ENTRYPOINT is different from RUN
|
# CMD/ENTRYPOINT is different from RUN
|
||||||
# these are done on a per-instantiation and essentially describe
|
# these are done on a per-instantiation and essentially describe
|
||||||
|
@ -44,4 +43,4 @@ RUN ["/usr/bin/env", "zsh", "-c", "./sol2/scripts/preparation.linux.sh"]
|
||||||
# gets "saved" in...
|
# gets "saved" in...
|
||||||
# it only runs the last CMD/ENTRYPOINT as the default behavior:
|
# it only runs the last CMD/ENTRYPOINT as the default behavior:
|
||||||
# multiple CMDs will not be respected
|
# multiple CMDs will not be respected
|
||||||
CMD ["/usr/bin/env", "zsh", "-c", "./sol2/scripts/run.linux.sh"]
|
CMD ["/usr/bin/env", "zsh", "-c", "chmod +x /sol2/scripts/run.linux.sh && ./sol2/scripts/run.linux.sh"]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user