Makefile: bump node to v16
Change-Id: I0587168f373230710c7b50b9aefd34718f4a5b3e
This commit is contained in:
parent
4535da96ee
commit
c54bcd63a1
4
Makefile
4
Makefile
@ -149,7 +149,7 @@ storagenode-console:
|
|||||||
-w /go/src/storj.io/storj/web/storagenode \
|
-w /go/src/storj.io/storj/web/storagenode \
|
||||||
-e HOME=/tmp \
|
-e HOME=/tmp \
|
||||||
-u $(shell id -u):$(shell id -g) \
|
-u $(shell id -u):$(shell id -g) \
|
||||||
node:14.15.3 \
|
node:16.11.1 \
|
||||||
/bin/bash -c "npm ci && npm run build"
|
/bin/bash -c "npm ci && npm run build"
|
||||||
# embed web assets into go
|
# embed web assets into go
|
||||||
go-bindata -prefix web/storagenode/ -fs -o storagenode/console/consoleassets/bindata.resource.go -pkg consoleassets web/storagenode/dist/... web/storagenode/static/...
|
go-bindata -prefix web/storagenode/ -fs -o storagenode/console/consoleassets/bindata.resource.go -pkg consoleassets web/storagenode/dist/... web/storagenode/static/...
|
||||||
@ -167,7 +167,7 @@ multinode-console:
|
|||||||
-w /go/src/storj.io/storj/web/multinode \
|
-w /go/src/storj.io/storj/web/multinode \
|
||||||
-e HOME=/tmp \
|
-e HOME=/tmp \
|
||||||
-u $(shell id -u):$(shell id -g) \
|
-u $(shell id -u):$(shell id -g) \
|
||||||
node:14.15.3 \
|
node:16.11.1 \
|
||||||
/bin/bash -c "npm ci && npm run build"
|
/bin/bash -c "npm ci && npm run build"
|
||||||
# embed web assets into go
|
# embed web assets into go
|
||||||
go-bindata -prefix web/multinode/ -fs -o multinode/console/consoleassets/bindata.resource.go -pkg consoleassets web/multinode/dist/... web/multinode/static/...
|
go-bindata -prefix web/multinode/ -fs -o multinode/console/consoleassets/bindata.resource.go -pkg consoleassets web/multinode/dist/... web/multinode/static/...
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
ARG DOCKER_ARCH
|
ARG DOCKER_ARCH
|
||||||
# Satellite UI static asset generation
|
# Satellite UI static asset generation
|
||||||
FROM node:14.15.3 as ui
|
FROM node:16.11.1 as ui
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY web/satellite/ /app
|
COPY web/satellite/ /app
|
||||||
# Need to clean up (or ignore) local folders like node_modules, etc...
|
# Need to clean up (or ignore) local folders like node_modules, etc...
|
||||||
|
Loading…
Reference in New Issue
Block a user