Skip to content

Commit 0ee8249

Browse files
author
Bryan Latten
authored
CMD: duplicate of parent, not needed (#70)
1 parent 0e5d9eb commit 0ee8249

File tree

3 files changed

+0
-12
lines changed

3 files changed

+0
-12
lines changed

Dockerfile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,3 @@ RUN sed -i "s/listen [0-9]*;/listen ${CONTAINER_PORT};/" $CONF_NGINX_SITE && \
5858

5959
RUN goss -g /tests/ubuntu/nginx.goss.yaml validate && \
6060
/aufs_hack.sh
61-
62-
# NOTE: intentionally NOT using s6 init as the entrypoint
63-
# This would prevent container debugging if any of those service crash
64-
CMD ["/bin/bash", "/run.sh"]

Dockerfile-alpine

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,3 @@ RUN sed -i "s/listen [0-9]*;/listen ${CONTAINER_PORT};/" $CONF_NGINX_SITE && \
4444

4545
RUN goss -g /tests/alpine/nginx.goss.yaml validate && \
4646
/aufs_hack.sh
47-
48-
# NOTE: intentionally NOT using s6 init as the entrypoint
49-
# This would prevent container debugging if any of those service crash
50-
CMD ["/bin/bash", "/run.sh"]

Dockerfile-centos

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,3 @@ RUN sed -i "s/listen [0-9]*;/listen ${CONTAINER_PORT};/" $CONF_NGINX_SITE && \
4343

4444
RUN goss -g /tests/centos/nginx.goss.yaml validate && \
4545
/aufs_hack.sh
46-
47-
# NOTE: intentionally NOT using s6 init as the entrypoint
48-
# This would prevent container debugging if any of those service crash
49-
CMD ["/bin/bash", "/run.sh"]

0 commit comments

Comments
 (0)