Skip to content

Instantly share code, notes, and snippets.

@elyscape elyscape/Dockerfile
Last active Jan 18, 2017

What would you like to do?
These commands add dumb-init to a Docker image -
DUMB_INIT_SHA256SUM=81231da1cd074fdc81af62789fead8641ef3f24b6b07366a1c34e5b059faf363 && \
curl -fsSLo /sbin/dumb-init "${DUMB_INIT_VERSION}/dumb-init_${DUMB_INIT_VERSION}_amd64" && \
echo "${DUMB_INIT_SHA256SUM} */sbin/dumb-init" | sha256sum -c - && \
chmod +x /sbin/dumb-init
ENTRYPOINT [ "/sbin/dumb-init", "--" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.