We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bd64b06 + 029c496 commit 86f57c6Copy full SHA for 86f57c6
1 file changed
ui/packages/ce/Dockerfile
@@ -21,6 +21,13 @@ RUN apk add --no-cache --update git && \
21
# Run phase.
22
FROM nginx:1.29.7-alpine as run
23
24
+# Pull latest Alpine package versions before adding application files.
25
+# Without this, the published image inherits whatever package versions were
26
+# baked into the nginx:1.29.7-alpine tag at the time it was built — which
27
+# accumulates CVEs (notably libcrypto3) until the upstream nginx tag is
28
+# refreshed. Apk upgrade pulls fixed versions from the Alpine stable feed.
29
+RUN apk update && apk upgrade --no-cache && rm -rf /var/cache/apk/*
30
+
31
COPY --from=build /app/packages/ce/build /srv/ce
32
COPY ./ui/packages/ce/nginx.conf /etc/nginx/conf.d/ce.conf.template
33
COPY ./ui/packages/ce/docker-entrypoint.sh /
0 commit comments