diff --git a/README.md b/README.md index 45ce92595..a266e56a8 100644 --- a/README.md +++ b/README.md @@ -136,7 +136,7 @@ The [`docker`](./docker) subfolder has some docker configurations for easily set Using multistage dockerfile dist is compiled using [node](https://hub.docker.com/_/node) image and later packed to nginx as in [dist build](#dist-build). The multistage builds ensures consistent CPU architecture and build toolchains are used so that the result will be identical. ```bash -docker build --build-arg APP=[YOUR APP] --build-arg NODE_VERSION=20.9.1 --build-arg ENV_NAME=mainnet -t [TAG] -f docker/node-inside-docker.Dockerfile . +docker build --build-arg APP=[YOUR APP] --build-arg NODE_VERSION=20.11 --build-arg ENV_NAME=mainnet -t [TAG] -f docker/node-inside-docker.Dockerfile . ``` ### Computing ipfs-hash of the build diff --git a/docker/node-inside-docker.Dockerfile b/docker/node-inside-docker.Dockerfile index b47523103..bbf08d118 100644 --- a/docker/node-inside-docker.Dockerfile +++ b/docker/node-inside-docker.Dockerfile @@ -1,14 +1,15 @@ # Build container ARG NODE_VERSION -FROM --platform=amd64 node:${NODE_VERSION}-alpine3.16 as build +FROM --platform=amd64 node:${NODE_VERSION}-alpine3.18 as build WORKDIR /app # Argument to allow building of different apps ARG APP ARG ENV_NAME="" RUN apk add --update --no-cache \ - make==4.3-r0 \ - gcc==11.2.1_git20220219-r2 \ - g++==11.2.1_git20220219-r2 + git \ + make==4.4.1-r1 \ + gcc==12.2.1_git20220924-r10 \ + g++==12.2.1_git20220924-r10 COPY . ./ RUN yarn --pure-lockfile # work around for different build process in trading