From 67ba1de27cc91061a8139dcf71cf63a70bff07d8 Mon Sep 17 00:00:00 2001 From: Jan-Hendrik Willms <tleilax+studip@gmail.com> Date: Fri, 2 Jun 2023 10:08:05 +0000 Subject: [PATCH] increase node version to v16, fixes #2703 Closes #2703 Merge request studip/studip!1821 --- .gitlab-ci.yml | 2 +- docker/studip/Dockerfile | 2 +- docker/tests/php72/Dockerfile | 2 +- docker/tests/php74/Dockerfile | 2 +- package.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c758ce3d644..9b0d085b1f4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 diff --git a/docker/studip/Dockerfile b/docker/studip/Dockerfile index f5e503bc8b2..8ee1d204c07 100644 --- a/docker/studip/Dockerfile +++ b/docker/studip/Dockerfile @@ -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 diff --git a/docker/tests/php72/Dockerfile b/docker/tests/php72/Dockerfile index 17cafe59d33..b8b277b5566 100644 --- a/docker/tests/php72/Dockerfile +++ b/docker/tests/php72/Dockerfile @@ -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/* diff --git a/docker/tests/php74/Dockerfile b/docker/tests/php74/Dockerfile index 57557c2f5db..49149a956bf 100644 --- a/docker/tests/php74/Dockerfile +++ b/docker/tests/php74/Dockerfile @@ -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/* diff --git a/package.json b/package.json index 795bc494302..3b376af3d60 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "url": "https://develop.studip.de/svn/studip" }, "engines": { - "node": ">=14" + "node": ">=16" }, "devDependencies": { "@babel/core": "^7.17.9", -- GitLab