Fix SHELL and ENTRYPOINT missing -c

This commit is contained in:
Felipe Santos
2021-04-02 19:45:15 -03:00
committed by hackercat
parent d85c393787
commit bdcc8235a5
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -71,7 +71,7 @@ RUN set -Eeuxo pipefail \
# > Home repository
LABEL org.opencontainers.image.source="https://github.com/catthehacker/docker_images"
SHELL [ "/bin/bash", "--login" ]
SHELL [ "/bin/bash", "--login", "-c" ]
# > Force bash with environment
ENTRYPOINT [ "/bin/bash", "--login" ]
ENTRYPOINT [ "/bin/bash", "--login", "-c" ]
+2 -2
View File
@@ -93,7 +93,7 @@ USER ${RUNNER_USER}:${RUNNER_USER}
WORKDIR /home/runner
SHELL [ "/bin/bash", "--login" ]
SHELL [ "/bin/bash", "--login", "-c" ]
# > Force bash with environment
ENTRYPOINT [ "/bin/bash", "--login" ]
ENTRYPOINT [ "/bin/bash", "--login", "-c" ]