Update Node (debian) to 18
This commit is contained in:
parent
12b7aa8f2e
commit
7f5076707e
1 changed files with 3 additions and 3 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue