Created
January 24, 2021 14:52
-
-
Save peterroelants/03c2f32c5f72cd7408394cbd7c6fef98 to your computer and use it in GitHub Desktop.
tini standalone docker install
This file contains 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
# 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