Skip to content

Commit 144653f

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 eb7fe2b commit 144653f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ RUN : \
2727
&& mkdir /app \
2828
&& cp -R ./website/console/dist/* /app
2929

30-
FROM gcr.io/distroless/nodejs
30+
FROM gcr.io/distroless/nodejs18-debian12
3131
LABEL org.opencontainers.image.source https://github.com/flyteorg/flyteconsole
3232

3333
COPY --from=builder /app app

0 commit comments

Comments
 (0)