Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[docker] Add tini as minimal init system #791

Merged
merged 1 commit into from
Jun 19, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ RUN chmod 0644 * \
##############################

RUN apk update \
&& apk add -u supervisor goaccess
&& apk add -u supervisor goaccess tini

# Cleanup
#########
Expand All @@ -61,4 +61,4 @@ EXPOSE 7890
# Set the entry point to init.sh
###########################################

ENTRYPOINT ["/opt/init.sh"]
ENTRYPOINT ["/sbin/tini", "--", "/opt/init.sh"]