Browse Source

entrypoint tini

Fabian Peter Hammerle 5 years ago
parent
commit
bda9904f72
1 changed files with 3 additions and 0 deletions
  1. 3 0
      Dockerfile

+ 3 - 0
Dockerfile

@@ -3,6 +3,9 @@ FROM alpine:3.8
 RUN find / -xdev -type f -perm /u+s -exec chmod --changes u-s {} \; \
     && find / -xdev -type f -perm /g+s -exec chmod --changes g-s {} \;
 
+RUN apk add tini
+ENTRYPOINT ["/sbin/tini", "-s", "--"]
+
 # $ readelf -l /tmp/go-ipfs/ipfs | grep 'program interpreter'
 #   [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
 RUN apk add libc6-compat