Last active
January 18, 2017 20:15
-
-
Save elyscape/28038bf896f29bad96a4349e541fb9d5 to your computer and use it in GitHub Desktop.
These commands add dumb-init to a Docker image - https://github.com/Yelp/dumb-init
This file contains hidden or 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
RUN \ | |
DUMB_INIT_VERSION=1.2.0 && \ | |
DUMB_INIT_SHA256SUM=81231da1cd074fdc81af62789fead8641ef3f24b6b07366a1c34e5b059faf363 && \ | |
curl -fsSLo /sbin/dumb-init "https://github.com/Yelp/dumb-init/releases/download/v${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