build: pin the Docker image versions with their index digests
All checks were successful
actionlint check / actionlint check (pull_request) Successful in 5s
checkov check / checkov check (pull_request) Successful in 1m39s
conventional commit messages check / conventional commit messages check (pull_request) Successful in 5s
conventional pull request title check / conventional pull request title check (pull_request) Successful in 4s
dotenv-linter check / dotenv-linter check (pull_request) Successful in 7s
GitLeaks check / GitLeaks check (pull_request) Successful in 18s
hadolint check / hadolint check (pull_request) Successful in 9s
htmlhint check / htmlhint check (pull_request) Successful in 15s
markdownlint check / markdownlint check (pull_request) Successful in 20s
Prettier check / Prettier check (pull_request) Successful in 23s
Rust check / Rust check (pull_request) Successful in 31m7s
ShellCheck check / ShellCheck check (pull_request) Successful in 21s
yamllint check / yamllint check (pull_request) Successful in 21s
Stylelint check / Stylelint check (pull_request) Successful in 24s

This commit is contained in:
Matouš Volf 2024-12-29 21:35:11 +01:00
parent 6b2bfb5ebe
commit da87cd95da
Signed by: matous-volf
GPG Key ID: A23C7E16096933BE
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
FROM rust:1.83-bookworm
FROM rust@sha256:a45bf1f5d9af0a23b26703b3500d70af1abff7f984a7abef5a104b42c02a292b
RUN cargo install dioxus-cli diesel_cli \
&& apt-get update && apt-get install -y --no-install-recommends \

View File

@ -1,4 +1,4 @@
FROM rust:1.83-bookworm AS builder
FROM rust@sha256:a45bf1f5d9af0a23b26703b3500d70af1abff7f984a7abef5a104b42c02a292b AS builder
RUN rustup target add wasm32-unknown-unknown \
&& cargo install dioxus-cli diesel_cli \
@ -16,7 +16,7 @@ RUN npm install \
&& npm run build \
&& dx build --release
FROM debian:bookworm-slim AS runner
FROM debian@sha256:b877a1a3fdf02469440f1768cf69c9771338a875b7add5e80c45b756c92ac20a AS runner
RUN apt-get update \
&& apt-get install -y --no-install-recommends libpq5=15.8-0+deb12u1 \