We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1adbdf3 + affae25 commit 7d4b44dCopy full SHA for 7d4b44d
1 file changed
Dockerfile
@@ -1,4 +1,4 @@
1
-FROM --platform=linux/amd64 rust:1.82-alpine3.20 AS builder
+FROM --platform=linux/amd64 rust:1.82-alpine3.20@sha256:2f42ce0d00c0b14f7fd84453cdc93ff5efec5da7ce03ead6e0b41adb1fbe834e AS builder
2
3
RUN apk add --no-cache clang lld musl-dev pkgconf openssl-dev openssl-libs-static
4
@@ -17,7 +17,7 @@ RUN touch /usr/src/mochi/src/main.rs
17
18
RUN cargo build --target x86_64-unknown-linux-musl --release
19
20
-FROM --platform=linux/amd64 alpine:3.20
+FROM --platform=linux/amd64 alpine:3.20@sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a
21
22
WORKDIR /usr/local/bin
23
COPY --from=builder /usr/src/mochi/target/x86_64-unknown-linux-musl/release/mochi ./
0 commit comments