Skip to content
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

Update Dockerfiles to use node 18 #2487

Merged
merged 1 commit into from
Jan 17, 2023
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
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM node:16-alpine as build
FROM node:18-alpine as build
WORKDIR /usr/app
RUN apk update && apk add --no-cache bash git g++ make python3 && rm -rf /var/cache/apk/*

ARG VERSION=latest
ENV VERSION=$VERSION
RUN npm install @ethereumjs/client@$VERSION

FROM node:16-alpine
FROM node:18-alpine
WORKDIR /usr/app
COPY --from=build /usr/app .

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.fromSource
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16-alpine as build
FROM node:18-alpine as build
RUN apk update && apk add --no-cache bash git g++ make python3 && rm -rf /var/cache/apk/*
WORKDIR /usr/app

Expand All @@ -9,7 +9,7 @@ RUN npm i --ignore-scripts
COPY . .
RUN npm i

FROM node:16-alpine
FROM node:18-alpine
WORKDIR /usr/app
COPY --from=build /usr/app .

Expand Down