Skip to content

Commit

Permalink
CMD: duplicate of parent, not needed (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryan Latten authored Feb 5, 2020
1 parent 0e5d9eb commit 0ee8249
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
4 changes: 0 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,3 @@ RUN sed -i "s/listen [0-9]*;/listen ${CONTAINER_PORT};/" $CONF_NGINX_SITE && \

RUN goss -g /tests/ubuntu/nginx.goss.yaml validate && \
/aufs_hack.sh

# NOTE: intentionally NOT using s6 init as the entrypoint
# This would prevent container debugging if any of those service crash
CMD ["/bin/bash", "/run.sh"]
4 changes: 0 additions & 4 deletions Dockerfile-alpine
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,3 @@ RUN sed -i "s/listen [0-9]*;/listen ${CONTAINER_PORT};/" $CONF_NGINX_SITE && \

RUN goss -g /tests/alpine/nginx.goss.yaml validate && \
/aufs_hack.sh

# NOTE: intentionally NOT using s6 init as the entrypoint
# This would prevent container debugging if any of those service crash
CMD ["/bin/bash", "/run.sh"]
4 changes: 0 additions & 4 deletions Dockerfile-centos
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,3 @@ RUN sed -i "s/listen [0-9]*;/listen ${CONTAINER_PORT};/" $CONF_NGINX_SITE && \

RUN goss -g /tests/centos/nginx.goss.yaml validate && \
/aufs_hack.sh

# NOTE: intentionally NOT using s6 init as the entrypoint
# This would prevent container debugging if any of those service crash
CMD ["/bin/bash", "/run.sh"]

0 comments on commit 0ee8249

Please sign in to comment.