Update Node (debian) to 18

This commit is contained in:
Jaysen Nuttall 2023-01-15 15:47:45 -07:00
commit 7f5076707e

View file

@ -2,7 +2,7 @@ ARG PHP_VERSION
ARG PHP_INTERFACE
ARG ARCHITECTURE_VERSION
FROM composer:2.0 as composer
FROM composer:2 as composer
FROM php:${PHP_VERSION}-${PHP_INTERFACE}-alpine${ARCHITECTURE_VERSION} as alpine
ENV COMPOSER_ALLOW_SUPERUSER 1
@ -51,13 +51,13 @@ RUN apt update \
software-properties-common \
unzip \
zlib1g-dev \
&& curl -sL https://deb.nodesource.com/setup_14.x | bash - \
&& curl -sL https://deb.nodesource.com/setup_18.x | bash - \
&& apt update \
&& apt install --no-install-recommends -y \
libicu-dev \
nodejs \
&& ln -s $(which nodejs) /usr/local/bin/node \
&& npm -g install yarn \
&& corepack enable \
&& docker-php-ext-configure intl \
&& docker-php-ext-install -j$(nproc) \
intl \