Skip to content

Commit

Permalink
Lodestar source build with Node 20 (#1467)
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickdowne authored Aug 4, 2023
1 parent dd0de9b commit e1cae7b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lodestar/Dockerfile.source
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18-alpine as build
FROM node:20-alpine as build

# Here only to avoid build-time errors
ARG DOCKER_TAG
Expand All @@ -12,7 +12,7 @@ WORKDIR /usr/app

RUN bash -c "cd .. && rm -rf app && git clone https://github.com/ChainSafe/lodestar.git app && cd app && git config advice.detachedHead false && git fetch --all --tags && if [[ ${BUILD_TARGET} =~ pr-.+ ]]; then git fetch origin pull/$(echo ${BUILD_TARGET} | cut -d '-' -f 2)/head:ls-pr; git checkout ls-pr; else git checkout ${BUILD_TARGET}; fi && yarn install --non-interactive --frozen-lockfile && yarn build"

FROM node:18-alpine
FROM node:20-alpine

RUN apk update && apk add --no-cache ca-certificates tzdata bash su-exec && rm -rf /var/cache/apk/*

Expand Down
2 changes: 1 addition & 1 deletion teku/Dockerfile.source
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RUN bash -c "git clone https://github.com/ConsenSys/teku.git \
&& ./gradlew installDist"

# Pull all binaries into a second stage deploy Ubuntu container
FROM eclipse-temurin:17-jammy
FROM eclipse-temurin:17-jre-jammy

ARG USER=teku
ARG UID=10002
Expand Down

0 comments on commit e1cae7b

Please sign in to comment.