Skip to content

Commit ccb7813

Browse files
authored
Bump Node.js version in Dockerfiles (#1979)
1 parent 565c3bb commit ccb7813

File tree

5 files changed

+12
-5
lines changed

5 files changed

+12
-5
lines changed

.changeset/pretty-masks-decide.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@api3/airnode-deployer': patch
3+
'@api3/airnode-admin': patch
4+
'@api3/airnode-node': patch
5+
---
6+
7+
Bump Node.js version in Dockerfiles

docker/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:18.14.0-alpine3.17 AS environment
1+
FROM node:18.19.1-alpine3.19 AS environment
22

33
ENV appDir="/app" \
44
buildDir="/build" \
@@ -7,7 +7,7 @@ ENV appDir="/app" \
77
CI="true"
88

99
RUN apk add --update --no-cache git rsync docker $([ $(arch) == "aarch64" ] && echo "python3 make g++") && \
10-
yarn global add npm@9.9.2 && \
10+
yarn global add npm && \
1111
# Download both solidity compilers as per: https://github.com/nomiclabs/hardhat/issues/1280#issuecomment-949822371
1212
mkdir -p /root/.cache/hardhat-nodejs/compilers-v2/wasm && \
1313
wget -O /root/.cache/hardhat-nodejs/compilers-v2/wasm/soljson-v0.8.9+commit.e5eed63a.js https://solc-bin.ethereum.org/wasm/soljson-v0.8.9+commit.e5eed63a.js && \

packages/airnode-admin/docker/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:18.14.0-alpine3.17
1+
FROM node:18.19.1-alpine3.19
22

33
ARG npmRegistryUrl=https://registry.npmjs.org/
44
ARG npmTag=latest

packages/airnode-deployer/docker/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:18.14.0-alpine3.17
1+
FROM node:18.19.1-alpine3.19
22

33
ARG npmRegistryUrl=https://registry.npmjs.org/
44
ARG npmTag=latest

packages/airnode-node/docker/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:18.14.0-alpine3.17
1+
FROM node:18.19.1-alpine3.19
22

33
ARG npmRegistryUrl=https://registry.npmjs.org/
44
ARG npmTag=latest

0 commit comments

Comments
 (0)