Skip to content

Bump Node.js version in Dockerfiles #1979

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .changeset/pretty-masks-decide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@api3/airnode-deployer': patch
'@api3/airnode-admin': patch
'@api3/airnode-node': patch
---

Bump Node.js version in Dockerfiles
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18.14.0-alpine3.17 AS environment
FROM node:18.19.1-alpine3.19 AS environment

ENV appDir="/app" \
buildDir="/build" \
Expand All @@ -7,7 +7,7 @@ ENV appDir="/app" \
CI="true"

RUN apk add --update --no-cache git rsync docker $([ $(arch) == "aarch64" ] && echo "python3 make g++") && \
yarn global add npm@9.9.2 && \
yarn global add npm && \
# Download both solidity compilers as per: https://github.com/nomiclabs/hardhat/issues/1280#issuecomment-949822371
mkdir -p /root/.cache/hardhat-nodejs/compilers-v2/wasm && \
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 && \
Expand Down
2 changes: 1 addition & 1 deletion packages/airnode-admin/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18.14.0-alpine3.17
FROM node:18.19.1-alpine3.19

ARG npmRegistryUrl=https://registry.npmjs.org/
ARG npmTag=latest
Expand Down
2 changes: 1 addition & 1 deletion packages/airnode-deployer/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18.14.0-alpine3.17
FROM node:18.19.1-alpine3.19

ARG npmRegistryUrl=https://registry.npmjs.org/
ARG npmTag=latest
Expand Down
2 changes: 1 addition & 1 deletion packages/airnode-node/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18.14.0-alpine3.17
FROM node:18.19.1-alpine3.19

ARG npmRegistryUrl=https://registry.npmjs.org/
ARG npmTag=latest
Expand Down