Skip to content

Instantly share code, notes, and snippets.

@peterroelants
Created January 24, 2021 14:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peterroelants/03c2f32c5f72cd7408394cbd7c6fef98 to your computer and use it in GitHub Desktop.
Save peterroelants/03c2f32c5f72cd7408394cbd7c6fef98 to your computer and use it in GitHub Desktop.
tini standalone docker install
# Install tini for entrypoint
# More info:
# - https://github.com/krallin/tini
# Checksum from https://github.com/krallin/tini/releases/download/v0.19.0/tini.sha256sum
ARG TINI_DOWNLOAD_URL=https://github.com/krallin/tini/releases/download/v0.19.0/tini
ARG TINI SHA256HASH="93dcc18adc78c65a028a84799ecf8ad40c936fdfc5f2a57b1acda5a8117fa82c"
ADD ${TINI_DOWNLOAD_URL} /opt/runtime/tini
RUN if ! echo "${SHA256HASH} /opt/runtime/tini" | sha256sum --check --status ; then exit 1 ; fi && \
chmod +x /opt/runtime/tini
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment