Skip to content

Commit

Permalink
Use maintained nodejs18-debian12 base image
Browse files Browse the repository at this point in the history
 - 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
  • Loading branch information
ddl-ebrown committed Jan 21, 2024
1 parent cfc38e4 commit c9d1bc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RUN : \
&& mkdir /app \
&& cp -R ./website/dist/* /app

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

COPY --from=builder /app app
Expand Down

0 comments on commit c9d1bc7

Please sign in to comment.