Update Dockerfile

This commit is contained in:
Alexandre
2022-07-21 17:09:41 +02:00
committed by GitHub
parent 7c2314a84b
commit d9089a2cd0

View File

@@ -26,6 +26,8 @@ FROM ${BUILD_FROM}
ENV S6_CMD_WAIT_FOR_SERVICES=1 \ ENV S6_CMD_WAIT_FOR_SERVICES=1 \
S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 \ S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 \
S6_SERVICES_GRACETIME=0 S6_SERVICES_GRACETIME=0
RUN sed -i "1a /./entrypoint.sh" /usr/local/bin/docker-entrypoint.sh
################## ##################
# 3 Install apps # # 3 Install apps #
@@ -65,10 +67,10 @@ RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get
# 4 Entrypoint # # 4 Entrypoint #
################ ################
RUN chmod 777 /entrypoint.sh #RUN chmod 777 /entrypoint.sh
#WORKDIR / #WORKDIR /
ENTRYPOINT [ "/usr/bin/env" ] #ENTRYPOINT [ "/usr/bin/env" ]
CMD [ "/entrypoint.sh" ] #CMD [ "/entrypoint.sh" ]
#SHELL ["/bin/bash", "-o", "pipefail", "-c"] #SHELL ["/bin/bash", "-o", "pipefail", "-c"]
############ ############