Skip to content
Snippets Groups Projects
Commit 67ba1de2 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

increase node version to v16, fixes #2703

Closes #2703

Merge request studip/studip!1821
parent cc4a9f0d
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@ variables:
# Use faster docker driver
DOCKER_DRIVER: overlay2
# Images
NODE_IMAGE: node:14-slim
NODE_IMAGE: node:16-slim
# Directories
CACHE_DIR: .caches
REPORT_DIR: .reports
......
......@@ -18,7 +18,7 @@ RUN apt update && apt install -y --no-install-recommends \
RUN docker-php-ext-configure gd --with-jpeg
RUN docker-php-ext-install pdo gettext curl gd mbstring zip pdo pdo_mysql mysqli intl json
FROM node:14 as nodejs
FROM node:16 as nodejs
# Install node modules
COPY . /studip
......
......@@ -15,7 +15,7 @@ RUN docker-php-ext-configure gd --with-png-dir=/usr/include/ \
RUN docker-php-ext-install pdo gettext curl gd mbstring zip pdo pdo_mysql mysqli intl json
# Install npm using nvm
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash -
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash -
RUN apt update && apt install -y --no-install-recommends nodejs \
curl apt-transport-https ca-certificates gnupg unzip git \
&& rm -rf /var/lib/apt/lists/*
......
......@@ -14,7 +14,7 @@ RUN docker-php-ext-configure gd --with-jpeg
RUN docker-php-ext-install pdo gettext curl gd mbstring zip pdo pdo_mysql mysqli intl json
# Install npm using nvm
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash -
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash -
RUN apt update && apt install -y --no-install-recommends nodejs \
curl apt-transport-https ca-certificates gnupg unzip git \
&& rm -rf /var/lib/apt/lists/*
......
......@@ -16,7 +16,7 @@
"url": "https://develop.studip.de/svn/studip"
},
"engines": {
"node": ">=14"
"node": ">=16"
},
"devDependencies": {
"@babel/core": "^7.17.9",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment