Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verifying Checksum Example #158

Merged
merged 1 commit into from
Nov 14, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
13 changes: 13 additions & 0 deletions tpl/README.md.in
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down