NodeJS: Bump to actively maintained LTS 14.15.1

This commit is contained in:
Yanis Guenane 2020-12-07 10:24:51 +01:00
parent 87e564026e
commit 14685b9157
5 changed files with 6 additions and 6 deletions

View File

@ -83,7 +83,7 @@ Before you can run a deployment, you'll need the following installed in your loc
- [GNU Make](https://www.gnu.org/software/make/)
- [Git](https://git-scm.com/) Requires Version 1.8.4+
- Python 3.6+
- [Node 10.x LTS version](https://nodejs.org/en/download/)
- [Node 14.x LTS version](https://nodejs.org/en/download/)
+ This is only required if you're [building your own container images](#official-vs-building-images) with `use_container_for_build=false`
- [NPM 6.x LTS](https://docs.npmjs.com/)
+ This is only required if you're [building your own container images](#official-vs-building-images) with `use_container_for_build=false`

View File

@ -1,4 +1,4 @@
FROM node:10
FROM node:14
ARG NPMRC_FILE=.npmrc
ENV NPMRC_FILE=${NPMRC_FILE}
ARG TARGET='https://awx:8043'

View File

@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"engines": {
"node": "10.x"
"node": "14.x"
},
"dependencies": {
"@lingui/react": "^2.9.1",

View File

@ -11,9 +11,9 @@ RUN dnf -y update && dnf -y install epel-release && \
python3-setuptools
# Use the distro provided npm to bootstrap our required version of node
RUN npm install -g n && n 10.15.0 && dnf remove -y nodejs
RUN npm install -g n && n 14.15.1 && dnf remove -y nodejs
ENV PATH=/usr/local/n/versions/node/10.15.0/bin:$PATH
ENV PATH=/usr/local/n/versions/node/14.15.1/bin:$PATH
WORKDIR "/awx"

View File

@ -109,7 +109,7 @@ RUN dnf -y install \
wget \
diffutils \
unzip && \
npm install -g n && n 10.15.0 && dnf remove -y nodejs
npm install -g n && n 14.15.1 && dnf remove -y nodejs
{% endif %}
# Install runtime requirements