diff --git a/.nvmrc b/.nvmrc index 440846e5e78..9a0c3d3f455 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v12.19.1 +v14.15.4 diff --git a/Dockerfile b/Dockerfile index 606d2f60aa5..2ef4f63998e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,7 +34,7 @@ ARG USER_ID RUN if [ -n "$USER_ID" ]; then usermod -u "${USER_ID}" docker \ && chown --from=9999 docker /usr/src/nginx /usr/src/app -R; fi -RUN curl -sL https://deb.nodesource.com/setup_12.x | bash - \ +RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - \ && curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \ && echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list \ && printf 'path-exclude /usr/share/doc/*\npath-exclude /usr/share/man/*' > /etc/dpkg/dpkg.cfg.d/01_nodoc \ diff --git a/Dockerfile.jenkins b/Dockerfile.jenkins index 9be2d500e5e..b54d70f8c8f 100644 --- a/Dockerfile.jenkins +++ b/Dockerfile.jenkins @@ -27,7 +27,7 @@ ENV BUNDLE_APP_CONFIG /home/docker/.bundle WORKDIR $APP_HOME USER root -RUN curl -sL https://deb.nodesource.com/setup_12.x | bash - \ +RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - \ && curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \ && echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list \ && printf 'path-exclude /usr/share/doc/*\npath-exclude /usr/share/man/*' > /etc/dpkg/dpkg.cfg.d/01_nodoc \ diff --git a/Dockerfile.package-translations b/Dockerfile.package-translations index 6019b38682e..e72576b85fc 100644 --- a/Dockerfile.package-translations +++ b/Dockerfile.package-translations @@ -1,4 +1,4 @@ -FROM instructure/node:12 +FROM instructure/node:14 ARG NPM_PRIVATE_SCOPE ARG NPM_PRIVATE_REGISTRY diff --git a/build/Dockerfile.template b/build/Dockerfile.template index d6bb51737e3..81d2ad0a494 100644 --- a/build/Dockerfile.template +++ b/build/Dockerfile.template @@ -37,7 +37,7 @@ RUN if [ -n "$USER_ID" ]; then usermod -u "${USER_ID}" docker \ && chown --from=9999 docker /usr/src/nginx /usr/src/app -R; fi <% end -%> -RUN curl -sL https://deb.nodesource.com/setup_12.x | bash - \ +RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - \ && curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \ && echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list \ && printf 'path-exclude /usr/share/doc/*\npath-exclude /usr/share/man/*' > /etc/dpkg/dpkg.cfg.d/01_nodoc \ diff --git a/build/ubuntu.Dockerfile.template b/build/ubuntu.Dockerfile.template index c8358625d71..646fb821e6b 100644 --- a/build/ubuntu.Dockerfile.template +++ b/build/ubuntu.Dockerfile.template @@ -18,7 +18,7 @@ ENV YARN_VERSION 1.19.1-1 USER root WORKDIR /root -RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - \ +RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - \ && curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \ && echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list \ && printf 'path-exclude /usr/share/doc/*\npath-exclude /usr/share/man/*' > /etc/dpkg/dpkg.cfg.d/01_nodoc \ diff --git a/docker-compose/karma/Dockerfile b/docker-compose/karma/Dockerfile index ffddcd0bd84..213dc5ce8d7 100644 --- a/docker-compose/karma/Dockerfile +++ b/docker-compose/karma/Dockerfile @@ -1,4 +1,4 @@ -FROM instructure/node:12 +FROM instructure/node:14 ENV APP_HOME /usr/src/app/ ENV NODE_ENV test diff --git a/package.json b/package.json index eaae4e33ff1..83940397dcb 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "license": "AGPL-3.0", "version": "0.0.0", "engines": { - "node": ">=12.5.0", + "node": ">=14.0.0", "yarn": "^1.19.1" }, "private": true, diff --git a/packages/canvas-planner/Dockerfile b/packages/canvas-planner/Dockerfile index 027c388bf75..d7c8e26741a 100644 --- a/packages/canvas-planner/Dockerfile +++ b/packages/canvas-planner/Dockerfile @@ -1,4 +1,4 @@ -FROM instructure/node:12 +FROM instructure/node:14 USER docker diff --git a/packages/canvas-rce/Dockerfile b/packages/canvas-rce/Dockerfile index 800bb267237..c277d2b0a3b 100644 --- a/packages/canvas-rce/Dockerfile +++ b/packages/canvas-rce/Dockerfile @@ -1,4 +1,4 @@ -FROM instructure/node:12 +FROM instructure/node:14 ARG NPM_PRIVATE_SCOPE ARG NPM_PRIVATE_REGISTRY diff --git a/ubuntu.development.Dockerfile b/ubuntu.development.Dockerfile index 8efe3493a7b..eee3a8029e6 100644 --- a/ubuntu.development.Dockerfile +++ b/ubuntu.development.Dockerfile @@ -16,7 +16,7 @@ ENV YARN_VERSION 1.19.1-1 USER root WORKDIR /root -RUN curl -sL https://deb.nodesource.com/setup_12.x | bash - \ +RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - \ && curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \ && echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list \ && printf 'path-exclude /usr/share/doc/*\npath-exclude /usr/share/man/*' > /etc/dpkg/dpkg.cfg.d/01_nodoc \ diff --git a/ubuntu.production.Dockerfile b/ubuntu.production.Dockerfile index 13d53a48c38..88c435fc695 100644 --- a/ubuntu.production.Dockerfile +++ b/ubuntu.production.Dockerfile @@ -14,7 +14,7 @@ ENV YARN_VERSION 1.19.1-1 USER root WORKDIR /root -RUN curl -sL https://deb.nodesource.com/setup_12.x | bash - \ +RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - \ && curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \ && echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list \ && printf 'path-exclude /usr/share/doc/*\npath-exclude /usr/share/man/*' > /etc/dpkg/dpkg.cfg.d/01_nodoc \