Skip to content

Commit cee2c15

Browse files
authored
Pin Docker container images for production build. See #5937 (#5939)
1 parent a123ba7 commit cee2c15

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:20 AS ui-builder
1+
FROM node:20@sha256:8cdc6b9b711af0711cc6139955cc1331fab5e0a995afd3260c52736fbc338059 AS ui-builder
22

33
COPY quickwit/quickwit-ui /quickwit/quickwit-ui
44

@@ -8,7 +8,7 @@ RUN touch .gitignore_for_build_directory \
88
&& NODE_ENV=production make install build
99

1010

11-
FROM rust:bookworm AS bin-builder
11+
FROM rust:bookworm@sha256:d13fd52243fff0ed4faa6e09199022947aec4f0f8291b718769fc8c3d2a947f1 AS bin-builder
1212

1313
ARG CARGO_FEATURES=release-feature-set
1414
ARG CARGO_PROFILE=release
@@ -49,7 +49,7 @@ RUN echo "Building workspace with feature(s) '$CARGO_FEATURES' and profile '$CAR
4949
&& find target/$CARGO_PROFILE -maxdepth 1 -perm /a+x -type f -exec mv {} /quickwit/bin \;
5050

5151

52-
FROM debian:bookworm-slim AS quickwit
52+
FROM debian:bookworm-slim@sha256:7e490910eea2861b9664577a96b54ce68ea3e02ce7f51d89cb0103a6f9c386e0 AS quickwit
5353

5454
LABEL org.opencontainers.image.title="Quickwit"
5555
LABEL maintainer="Quickwit, Inc. <hello@quickwit.io>"

0 commit comments

Comments
 (0)