Browse Source

reenable tini

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

+ 1 - 2
Dockerfile

@@ -4,7 +4,6 @@ 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]
@@ -27,7 +26,7 @@ ENV IPFS_INIT_PROFILE server
 ENV IPFS_BOOTSTRAP_ADD ""
 COPY entrypoint.sh /
 RUN chmod a=rx /entrypoint.sh
-ENTRYPOINT ["/entrypoint.sh"]
+ENTRYPOINT ["/sbin/tini", "--", "/entrypoint.sh"]
 
 USER ipfs
 EXPOSE 4001/tcp