File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ RUN set -eux \
1414 && if [ -f "/entrypoint.sh" ]; then \
1515 mv "/entrypoint.sh" "/docker-entrypoint.sh" ; \
1616 fi \
17+ && if [ ! -f "/docker-entrypoint.sh" ]; then \
18+ ln -s "/usr/local/bin/docker-entrypoint.sh" "/docker-entrypoint.sh" ; \
19+ fi \
1720 && chmod +x "/docker-entrypoint.sh"
1821
1922ENTRYPOINT ["/docker-entrypoint.sh" ]
Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ RUN set -eux \
1414 && if [ -f "/entrypoint.sh" ]; then \
1515 mv "/entrypoint.sh" "/docker-entrypoint.sh" ; \
1616 fi \
17+ && if [ ! -f "/docker-entrypoint.sh" ]; then \
18+ ln -s "/usr/local/bin/docker-entrypoint.sh" "/docker-entrypoint.sh" ; \
19+ fi \
1720 && chmod +x "/docker-entrypoint.sh"
1821
1922ENTRYPOINT ["/docker-entrypoint.sh" ]
Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ RUN set -eux \
1414 && if [ -f "/entrypoint.sh" ]; then \
1515 mv "/entrypoint.sh" "/docker-entrypoint.sh" ; \
1616 fi \
17+ && if [ ! -f "/docker-entrypoint.sh" ]; then \
18+ ln -s "/usr/local/bin/docker-entrypoint.sh" "/docker-entrypoint.sh" ; \
19+ fi \
1720 && chmod +x "/docker-entrypoint.sh"
1821
1922ENTRYPOINT ["/docker-entrypoint.sh" ]
Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ RUN set -eux \
1414 && if [ -f "/entrypoint.sh" ]; then \
1515 mv "/entrypoint.sh" "/docker-entrypoint.sh" ; \
1616 fi \
17+ && if [ ! -f "/docker-entrypoint.sh" ]; then \
18+ ln -s "/usr/local/bin/docker-entrypoint.sh" "/docker-entrypoint.sh" ; \
19+ fi \
1720 && chmod +x "/docker-entrypoint.sh"
1821
1922ENTRYPOINT ["/docker-entrypoint.sh" ]
Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ RUN set -eux \
1414 && if [ -f "/entrypoint.sh" ]; then \
1515 mv "/entrypoint.sh" "/docker-entrypoint.sh" ; \
1616 fi \
17+ && if [ ! -f "/docker-entrypoint.sh" ]; then \
18+ ln -s "/usr/local/bin/docker-entrypoint.sh" "/docker-entrypoint.sh" ; \
19+ fi \
1720 && chmod +x "/docker-entrypoint.sh"
1821
1922ENTRYPOINT ["/docker-entrypoint.sh" ]
Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ RUN set -eux \
1414 && if [ -f "/entrypoint.sh" ]; then \
1515 mv "/entrypoint.sh" "/docker-entrypoint.sh" ; \
1616 fi \
17+ && if [ ! -f "/docker-entrypoint.sh" ]; then \
18+ ln -s "/usr/local/bin/docker-entrypoint.sh" "/docker-entrypoint.sh" ; \
19+ fi \
1720 && chmod +x "/docker-entrypoint.sh"
1821
1922ENTRYPOINT ["/docker-entrypoint.sh" ]
Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ RUN set -eux \
1414 && if [ -f "/entrypoint.sh" ]; then \
1515 mv "/entrypoint.sh" "/docker-entrypoint.sh" ; \
1616 fi \
17+ && if [ ! -f "/docker-entrypoint.sh" ]; then \
18+ ln -s "/usr/local/bin/docker-entrypoint.sh" "/docker-entrypoint.sh" ; \
19+ fi \
1720 && chmod +x "/docker-entrypoint.sh"
1821
1922ENTRYPOINT ["/docker-entrypoint.sh" ]
Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ RUN set -eux \
1414 && if [ -f "/entrypoint.sh" ]; then \
1515 mv "/entrypoint.sh" "/docker-entrypoint.sh" ; \
1616 fi \
17+ && if [ ! -f "/docker-entrypoint.sh" ]; then \
18+ ln -s "/usr/local/bin/docker-entrypoint.sh" "/docker-entrypoint.sh" ; \
19+ fi \
1720 && chmod +x "/docker-entrypoint.sh"
1821
1922ENTRYPOINT ["/docker-entrypoint.sh" ]
Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ RUN set -eux \
1414 && if [ -f "/entrypoint.sh" ]; then \
1515 mv "/entrypoint.sh" "/docker-entrypoint.sh" ; \
1616 fi \
17+ && if [ ! -f "/docker-entrypoint.sh" ]; then \
18+ ln -s "/usr/local/bin/docker-entrypoint.sh" "/docker-entrypoint.sh" ; \
19+ fi \
1720 && chmod +x "/docker-entrypoint.sh"
1821
1922ENTRYPOINT ["/docker-entrypoint.sh" ]
Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ RUN set -eux \
1414 && if [ -f "/entrypoint.sh" ]; then \
1515 mv "/entrypoint.sh" "/docker-entrypoint.sh" ; \
1616 fi \
17+ && if [ ! -f "/docker-entrypoint.sh" ]; then \
18+ ln -s "/usr/local/bin/docker-entrypoint.sh" "/docker-entrypoint.sh" ; \
19+ fi \
1720 && chmod +x "/docker-entrypoint.sh"
1821
1922ENTRYPOINT ["/docker-entrypoint.sh" ]
You can’t perform that action at this time.
0 commit comments