Skip to content

Commit 429f764

Browse files
committed
Use maintained nodejs18-debian12 base image
- The nodejs distroless image was last updated 10 months ago and as such there are a number of high severity CVEs present in the last flyteconsole image that shipped v1.10.2 - The existing base image is based on node v18, so for compatibility use the gcr.io/distroless/nodejs18-debian12 image, which is being actively maintained: https://github.com/GoogleContainerTools/distroless/blob/main/nodejs/README.md Signed-off-by: ddl-ebrown <[email protected]>
1 parent cfc38e4 commit 429f764

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ RUN : \
1919
&& mkdir /app \
2020
&& cp -R ./website/dist/* /app
2121

22-
FROM gcr.io/distroless/nodejs
22+
FROM gcr.io/distroless/nodejs18-debian12
2323
LABEL org.opencontainers.image.source https://github.com/flyteorg/flyteconsole
2424

2525
COPY --from=builder /app app

0 commit comments

Comments
 (0)