Skip to content

Commit

Permalink
Downgrade Alpine version during Node upgrade (#2509)
Browse files Browse the repository at this point in the history
* Update the node version in the docker container

* Update the Alpine version

* Update all Alpine versions

* Downgrade alpine version to 3.18

* Only 3.18 for the alpine version

---------

Co-authored-by: user <[email protected]>
  • Loading branch information
af-afk and user authored Jan 23, 2024
1 parent a56348e commit 3028e4c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.build-root
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

FROM golang:1.20-alpine3.16 AS build
FROM golang:1.20-alpine3.18 AS build

RUN apk add --no-cache \
openssl \
Expand Down Expand Up @@ -29,7 +29,7 @@ RUN . "$NVM_DIR/nvm.sh" && nvm alias default v${NODE_VERSION}

ENV PATH="/root/.nvm/versions/node/v${NODE_VERSION}/bin/:${PATH}"

RUN python3 -m pip install semgrep
RUN python3 -m pip install --break-system-packages semgrep

FROM build AS installed

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.build-root-web
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

FROM alpine:3.16 AS build
FROM alpine:3.18 AS build

RUN apk add --no-cache \
nodejs \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.node
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18-alpine3.16
FROM node:20-alpine3.18

RUN apk add --no-cache make

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.runtime
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.16.1
FROM alpine:3.18

RUN apk add --no-cache postgresql-client

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.runtime-web
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.16.1
FROM alpine:3.18

RUN apk add --no-cache \
nodejs \
Expand Down

0 comments on commit 3028e4c

Please sign in to comment.