mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #13539 from overleaf/jpa-node-16-20-1
[misc] upgrade nodejs from 16.17.1 to 16.20.1 in user facing services GitOrigin-RevId: c338b0c0d43ba26294007b6674822cc0a1e28bbc
This commit is contained in:
parent
8cca5d3316
commit
49c2fee3ba
11 changed files with 14 additions and 14 deletions
|
@ -2,7 +2,7 @@
|
|||
# Instead run bin/update_build_scripts from
|
||||
# https://github.com/overleaf/internal/
|
||||
|
||||
FROM node:16.17.1 as base
|
||||
FROM gcr.io/overleaf-ops/nodejs-overleaf:16.20.1 as base
|
||||
|
||||
WORKDIR /overleaf/services/history-v1
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ HERE=$(shell pwd)
|
|||
MONOREPO=$(shell cd ../../ && pwd)
|
||||
# Run the linting commands in the scope of the monorepo.
|
||||
# Eslint and prettier (plus some configs) are on the root.
|
||||
RUN_LINTING = docker run --rm -v $(MONOREPO):$(MONOREPO) -w $(HERE) node:16.17.1 npm run --silent
|
||||
RUN_LINTING = docker run --rm -v $(MONOREPO):$(MONOREPO) -w $(HERE) gcr.io/overleaf-ops/nodejs-overleaf:16.20.1 npm run --silent
|
||||
|
||||
format:
|
||||
$(RUN_LINTING) format
|
||||
|
|
|
@ -5,6 +5,6 @@ history-v1
|
|||
--env-pass-through=
|
||||
--esmock-loader=False
|
||||
--has-custom-nodemon=True
|
||||
--node-version=16.17.1
|
||||
--node-version=gcr.io/overleaf-ops/nodejs-overleaf:16.20.1
|
||||
--public-repo=False
|
||||
--script-version=4.2.0
|
||||
|
|
|
@ -6,7 +6,7 @@ version: "2.3"
|
|||
|
||||
services:
|
||||
test_unit:
|
||||
image: node:16.17.1
|
||||
image: gcr.io/overleaf-ops/nodejs-overleaf:16.20.1
|
||||
volumes:
|
||||
- .:/overleaf/services/history-v1
|
||||
- ../../node_modules:/overleaf/node_modules
|
||||
|
@ -20,7 +20,7 @@ services:
|
|||
user: node
|
||||
|
||||
test_acceptance:
|
||||
image: node:16.17.1
|
||||
image: gcr.io/overleaf-ops/nodejs-overleaf:16.20.1
|
||||
volumes:
|
||||
- .:/overleaf/services/history-v1
|
||||
- ../../node_modules:/overleaf/node_modules
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# Instead run bin/update_build_scripts from
|
||||
# https://github.com/overleaf/internal/
|
||||
|
||||
FROM node:16.17.1 as base
|
||||
FROM gcr.io/overleaf-ops/nodejs-overleaf:16.20.1 as base
|
||||
|
||||
WORKDIR /overleaf/services/real-time
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ HERE=$(shell pwd)
|
|||
MONOREPO=$(shell cd ../../ && pwd)
|
||||
# Run the linting commands in the scope of the monorepo.
|
||||
# Eslint and prettier (plus some configs) are on the root.
|
||||
RUN_LINTING = docker run --rm -v $(MONOREPO):$(MONOREPO) -w $(HERE) node:16.17.1 npm run --silent
|
||||
RUN_LINTING = docker run --rm -v $(MONOREPO):$(MONOREPO) -w $(HERE) gcr.io/overleaf-ops/nodejs-overleaf:16.20.1 npm run --silent
|
||||
|
||||
format:
|
||||
$(RUN_LINTING) format
|
||||
|
|
|
@ -3,6 +3,6 @@ real-time
|
|||
--docker-repos=gcr.io/overleaf-ops
|
||||
--env-add=
|
||||
--env-pass-through=
|
||||
--node-version=16.17.1
|
||||
--node-version=gcr.io/overleaf-ops/nodejs-overleaf:16.20.1
|
||||
--public-repo=True
|
||||
--script-version=4.1.0
|
||||
|
|
|
@ -6,7 +6,7 @@ version: "2.3"
|
|||
|
||||
services:
|
||||
test_unit:
|
||||
image: node:16.17.1
|
||||
image: gcr.io/overleaf-ops/nodejs-overleaf:16.20.1
|
||||
volumes:
|
||||
- .:/overleaf/services/real-time
|
||||
- ../../node_modules:/overleaf/node_modules
|
||||
|
@ -20,7 +20,7 @@ services:
|
|||
user: node
|
||||
|
||||
test_acceptance:
|
||||
image: node:16.17.1
|
||||
image: gcr.io/overleaf-ops/nodejs-overleaf:16.20.1
|
||||
volumes:
|
||||
- .:/overleaf/services/real-time
|
||||
- ../../node_modules:/overleaf/node_modules
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# the base image is suitable for running web with /overleaf/services/web bind
|
||||
# mounted
|
||||
FROM node:16.17.1 as base
|
||||
FROM gcr.io/overleaf-ops/nodejs-overleaf:16.20.1 as base
|
||||
|
||||
WORKDIR /overleaf/services/web
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM node:16.17.1
|
||||
FROM gcr.io/overleaf-ops/nodejs-overleaf:16.20.1
|
||||
|
||||
# Install Google Chrome
|
||||
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
|
||||
|
|
|
@ -6,7 +6,7 @@ volumes:
|
|||
services:
|
||||
|
||||
test_unit:
|
||||
image: node:16.17.1
|
||||
image: gcr.io/overleaf-ops/nodejs-overleaf:16.20.1
|
||||
volumes:
|
||||
- .:/overleaf/services/web
|
||||
- ../../node_modules:/overleaf/node_modules
|
||||
|
@ -21,7 +21,7 @@ services:
|
|||
user: node
|
||||
|
||||
test_acceptance:
|
||||
image: node:16.17.1
|
||||
image: gcr.io/overleaf-ops/nodejs-overleaf:16.20.1
|
||||
volumes:
|
||||
- .:/overleaf/services/web
|
||||
- ../../node_modules:/overleaf/node_modules
|
||||
|
|
Loading…
Reference in a new issue