Skip to content

Instantly share code, notes, and snippets.

@elyscape elyscape/Dockerfile
Last active May 17, 2017

Embed
What would you like to do?
These commands add Tini to a Docker image - https://github.com/krallin/tini
# Set TINI_ARCH to one of:
# ''
# amd64
# arm64
# armhf
# i386
# static
# static-amd64
# static-arm64
# static-armhf
# static-i386
RUN \
TINI_VERSION=v0.14.0 && \
TINI_ARCH=amd64 && \
gpg --keyserver ha.pool.sks-keyservers.net --recv-keys 0x595E85A6B1B4779EA4DAAEC70B588DFF0527A9B7 && \
curl -fsSLo /sbin/tini "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini${TINI_ARCH:+-$TINI_ARCH}" && \
curl -fsSL "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini${TINI_ARCH:+-$TINI_ARCH}.asc" | \
gpg --verify - /sbin/tini && \
chmod +x /sbin/tini
ENTRYPOINT [ "/sbin/tini", "--" ]
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.