upgrade to node14
fixes FOO-1527 flag = none test plan: you can install node modules and run webpack Change-Id: I33347d791b0923f4471b555c6fac303b098b1ef4 Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/257333 Reviewed-by: Simon Williams <simon@instructure.com> QA-Review: Simon Williams <simon@instructure.com> Product-Review: Simon Williams <simon@instructure.com> Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
This commit is contained in:
parent
e9a0cab890
commit
486b0bf72c
|
@ -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 \
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM instructure/node:12
|
||||
FROM instructure/node:14
|
||||
|
||||
ARG NPM_PRIVATE_SCOPE
|
||||
ARG NPM_PRIVATE_REGISTRY
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM instructure/node:12
|
||||
FROM instructure/node:14
|
||||
|
||||
ENV APP_HOME /usr/src/app/
|
||||
ENV NODE_ENV test
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM instructure/node:12
|
||||
FROM instructure/node:14
|
||||
|
||||
USER docker
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM instructure/node:12
|
||||
FROM instructure/node:14
|
||||
|
||||
ARG NPM_PRIVATE_SCOPE
|
||||
ARG NPM_PRIVATE_REGISTRY
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue