ADD file:d9370df1223b6e0012903f733a51b4d9988c281fdab859fa40a391be6a3c95f2 in / |
CMD ["sh"] |
LABEL maintainer=Steven Allen <steven@stebalien.com> |
ENV SRC_DIR=/go-ipfs |
COPY file:1749be1a2307c38c65115ca9cedf4520e661e57dc7243e9399acd09bc63ce29a in /usr/local/bin/ipfs |
COPY file:78913518853653c7c37d6330ffd1fd5ef01ceab701ef0fae07dcb03adcd87632 in /usr/local/bin/start_ipfs |
COPY file:22ff208dda72b9fa31483dd0afa9056d8ee5c357ff03ab3e9fa2167eddd99bae in /sbin/su-exec |
COPY file:a01da3cae2c61ce242b749d0daaec9bd908c2b87b73c709156d1a585195e9236 in /sbin/tini |
COPY file:7ff8258ba9545db8c3d248da8e7f7d181cda301b0dc4114336d2fad134203e7c in /usr/local/bin/fusermount |
COPY dir:a895f7c911b34d4b7c20ca9d7b2e1183e48bcaad66d5c06713673761b2a9b23a in /etc/ssl/certs |
/bin/sh -c chmod 4755 /usr/local/bin/fusermount |
/bin/sh -c chmod 0755 /usr/local/bin/start_ipfs |
COPY file:060d38f8c66901ea7f1ccb5395c3d1184fc25cbf7dee818d9d6d8883013a5866 in /lib/ |
COPY multi:4b04e5d156cfe39b553ec6d71f75ad3f13a8e7dbef062f6e35ddb73a1b488875 in /usr/lib/ |
COPY multi:bc88dd3b5663b85cdb90234a38882f80f6638fe699854c435aa21dec16e6f1b3 in /usr/lib/ |
EXPOSE 4001 |
EXPOSE 4001/udp |
EXPOSE 5001 |
EXPOSE 8080 |
EXPOSE 8081 |
ENV IPFS_PATH=/data/ipfs |
/bin/sh -c mkdir -p $IPFS_PATH && adduser -D -h $IPFS_PATH -u 1000 -G users ipfs && chown ipfs:users $IPFS_PATH |
/bin/sh -c mkdir /ipfs /ipns && chown ipfs:users /ipfs /ipns |
VOLUME [/data/ipfs] |
ENV IPFS_LOGGING= |
ENTRYPOINT ["/sbin/tini" "--" "/usr/local/bin/start_ipfs"] |
HEALTHCHECK &{["CMD-SHELL" "ipfs dag stat /ipfs/QmUNLLsPACCz1vLxQVkXqqLX5R1X345qqfHbsf67hvA3Nn || exit 1"] "30s" "3s" "5s" '\x03'} |
CMD ["daemon" "--migrate=true" "--agent-version-suffix=docker"] |