Earthfile: Use same NodeJS version as Makefile

Makefile defines the NodeJS version to use for building front-end
sources.

Earthfile must use the same version for guaranteeing the same results.

Change-Id: I74d5629a2a4489392d2a3303a03a7ccf012f8b24
This commit is contained in:
Ivan Fraixedes 2023-10-04 18:00:25 +02:00 committed by Elek, Márton
parent 356eb43a9f
commit d8376a2a24

View File

@ -3,7 +3,7 @@ FROM golang:1.19
WORKDIR /go/storj
multinode-web:
FROM node:18
FROM node:18.17
WORKDIR /build
COPY web/multinode .
RUN ./build.sh
@ -21,7 +21,7 @@ wasm:
SAVE ARTIFACT release/earthly/wasm wasm AS LOCAL web/satellite/static/wasm
storagenode-web:
FROM node:18
FROM node:18.17
WORKDIR /build
COPY web/storagenode .
RUN ./build.sh
@ -29,7 +29,7 @@ storagenode-web:
SAVE ARTIFACT static AS LOCAL web/storagenode/static
satellite-web:
FROM node:18
FROM node:18.17
WORKDIR /build
COPY web/satellite .
RUN ./build.sh
@ -39,7 +39,7 @@ satellite-web:
SAVE ARTIFACT static AS LOCAL web/satellite/static
satellite-admin:
FROM node:16
FROM node:18.17
WORKDIR /build
COPY satellite/admin/ui .
RUN ./build.sh