Adding example of how to verify checksums

This commit is contained in:
Jim Crowley 2020-04-20 11:15:10 -04:00 committed by Thomas Orozco
parent 07b31393ca
commit 7fdac39561
2 changed files with 26 additions and 0 deletions

View File

@ -92,6 +92,19 @@ your package manager):
&& gpg --batch --verify /tini.asc /tini
### Verifying binaries via checksum ###
The `tini` and `tini-static` binaries have generated checksums (`SHA1` and `SHA256`).
You can verify their checksums using `sha1sum` and `sha256sum` (which you may install using
your package manager):
ENV TINI_VERSION v0.19.0
RUN wget --no-check-certificate --no-cookies --quiet https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-amd64 \
&& wget --no-check-certificate --no-cookies --quiet https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-amd64.sha256sum \
&& echo "$(cat tini-amd64.sha256sum)" | sha256sum -c
### Alpine Linux Package ###
On Alpine Linux, you can use the following command to install Tini:

View File

@ -92,6 +92,19 @@ your package manager):
&& gpg --batch --verify /tini.asc /tini
### Verifying binaries via checksum ###
The `tini` and `tini-static` binaries have generated checksums (`SHA1` and `SHA256`).
You can verify their checksums using `sha1sum` and `sha256sum` (which you may install using
your package manager):
ENV TINI_VERSION v@tini_VERSION_MAJOR@.@tini_VERSION_MINOR@.@tini_VERSION_PATCH@
RUN wget --no-check-certificate --no-cookies --quiet https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-amd64 \
&& wget --no-check-certificate --no-cookies --quiet https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-amd64.sha256sum \
&& echo "$(cat tini-amd64.sha256sum)" | sha256sum -c
### Alpine Linux Package ###
On Alpine Linux, you can use the following command to install Tini: