Skip to content

Commit

Permalink
Merge pull request #11 from tibber/toni/specify-hashes
Browse files Browse the repository at this point in the history
Specify image hashes
  • Loading branch information
toini authored Sep 16, 2024
2 parents 8174177 + ad66558 commit a52dd31
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion 6/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM cimg/base:current
FROM cimg/base:current@sha256:161944153a72083104b19d44575faf5fc838b904fafa57e241002eefd8b3ed55

RUN set -x && \
repo_version=$(if command -v lsb_release >/dev/null 2>&1; then lsb_release -r -s; else grep -oP '(?<=^VERSION_ID=).+' /etc/os-release | tr -d '"'; fi) && \
Expand Down
4 changes: 2 additions & 2 deletions 7-alpine/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/dotnet/sdk:7.0-alpine
FROM mcr.microsoft.com/dotnet/sdk:7.0-alpine@sha256:1478c99b4bed8d297ccd000e0fdaf060cdfb281779f8c8aa47f031a09503c0d4

# Check latest version at https://api.github.com/repos/docker/cli/tags
ENV DOCKER_VERSION 23.0.1
Expand All @@ -11,4 +11,4 @@ RUN set -x && \
dotnet tool install -g trx2junit

ENV PATH="${PATH}:/root/.dotnet/tools"

2 changes: 1 addition & 1 deletion 7/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM cimg/base:current
FROM cimg/base:current@sha256:161944153a72083104b19d44575faf5fc838b904fafa57e241002eefd8b3ed55

RUN set -x && \
repo_version=$(if command -v lsb_release >/dev/null 2>&1; then lsb_release -r -s; else grep -oP '(?<=^VERSION_ID=).+' /etc/os-release | tr -d '"'; fi) && \
Expand Down
2 changes: 1 addition & 1 deletion 8/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM cimg/base:current
FROM cimg/base:current@sha256:161944153a72083104b19d44575faf5fc838b904fafa57e241002eefd8b3ed55

RUN set -x && \
repo_version=$(if command -v lsb_release >/dev/null 2>&1; then lsb_release -r -s; else grep -oP '(?<=^VERSION_ID=).+' /etc/os-release | tr -d '"'; fi) && \
Expand Down

0 comments on commit a52dd31

Please sign in to comment.