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

adjust minimal node.js version, fixes #1662

Closes #1662

Merge request studip/studip!1069
parent 1deade6b
No related branches found
No related tags found
No related merge requests found
......@@ -6,4 +6,3 @@ You can trigger an automated push to the studip docker repository by providing t
`./build_images.sh push`
All images are automatically built for linux/amd64
\ No newline at end of file
\ No newline at end of file
......@@ -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:12 as nodejs
FROM node:14 as nodejs
# Install node modules
COPY . /studip
......@@ -57,4 +57,4 @@ RUN chmod u+x /usr/local/bin/docker-entrypoint.sh
# Set start parameters
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
CMD ["apache2-foreground"]
\ No newline at end of file
CMD ["apache2-foreground"]
......@@ -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_12.x | bash -
RUN curl -sL https://deb.nodesource.com/setup_14.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_12.x | bash -
RUN curl -sL https://deb.nodesource.com/setup_14.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/*
......
......@@ -18,7 +18,7 @@
"url": "https://develop.studip.de/svn/studip"
},
"engines": {
"node": ">=12"
"node": ">=14"
},
"devDependencies": {
"@babel/core": "^7.17.9",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment