Skip to content

Commit

Permalink
upgrade nodejs
Browse files Browse the repository at this point in the history
  • Loading branch information
HalvorHaugan committed Sep 19, 2024
1 parent a396032 commit 1f35467
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aksel.nav.no/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM gcr.io/distroless/nodejs18-debian12 as runtime
FROM gcr.io/distroless/nodejs22-debian12 as runtime

Check warning on line 1 in aksel.nav.no/Dockerfile

View workflow job for this annotation

GitHub Actions / Build and deploy to dev-gcp

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

ENV NODE_ENV production

Check warning on line 3 in aksel.nav.no/Dockerfile

View workflow job for this annotation

GitHub Actions / Build and deploy to dev-gcp

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

Expand Down

0 comments on commit 1f35467

Please sign in to comment.