mirror of https://github.com/krallin/tini.git
Adding example of how to verify checksums
This commit is contained in:
parent
07b31393ca
commit
7fdac39561
13
README.md
13
README.md
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue