forked from neo4j/docker-neo4j
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tini is a tiny "init-system" which handles signal forwarding to child processes and most importantly handles reaping child processes. Read more about it at https://blog.phusion.nl/2015/01/20/docker-and-the-pid-1-zombie-reaping-problem/ krallin/tini#8 https://github.com/docker-library/official-images#init
- Loading branch information
1 parent
288f5ae
commit 8dde1f4
Showing
5 changed files
with
14 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
FROM alpine | ||
|
||
RUN apk update && apk add --no-cache curl bash util-linux grep | ||
RUN apk update && apk add --no-cache curl bash util-linux grep tini | ||
|
||
ENTRYPOINT ["/sbin/tini", "--"] | ||
CMD ["bash", "-c", "while true; do sleep 120; done"] |