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: ...@@ -16,7 +16,7 @@ variables:
# Use faster docker driver # Use faster docker driver
DOCKER_DRIVER: overlay2 DOCKER_DRIVER: overlay2
# Images # Images
NODE_IMAGE: node:14-slim NODE_IMAGE: node:16-slim
# Directories # Directories
CACHE_DIR: .caches CACHE_DIR: .caches
REPORT_DIR: .reports REPORT_DIR: .reports
......
...@@ -18,7 +18,7 @@ RUN apt update && apt install -y --no-install-recommends \ ...@@ -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-configure gd --with-jpeg
RUN docker-php-ext-install pdo gettext curl gd mbstring zip pdo pdo_mysql mysqli intl json 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 # Install node modules
COPY . /studip COPY . /studip
......
...@@ -15,7 +15,7 @@ RUN docker-php-ext-configure gd --with-png-dir=/usr/include/ \ ...@@ -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 RUN docker-php-ext-install pdo gettext curl gd mbstring zip pdo pdo_mysql mysqli intl json
# Install npm using nvm # 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 \ RUN apt update && apt install -y --no-install-recommends nodejs \
curl apt-transport-https ca-certificates gnupg unzip git \ curl apt-transport-https ca-certificates gnupg unzip git \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
......
...@@ -14,7 +14,7 @@ RUN docker-php-ext-configure gd --with-jpeg ...@@ -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 RUN docker-php-ext-install pdo gettext curl gd mbstring zip pdo pdo_mysql mysqli intl json
# Install npm using nvm # 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 \ RUN apt update && apt install -y --no-install-recommends nodejs \
curl apt-transport-https ca-certificates gnupg unzip git \ curl apt-transport-https ca-certificates gnupg unzip git \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
"url": "https://develop.studip.de/svn/studip" "url": "https://develop.studip.de/svn/studip"
}, },
"engines": { "engines": {
"node": ">=14" "node": ">=16"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.17.9", "@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