Use debian bookworm, PHP 8.2 and node 20 for the docker image by default

This commit is contained in:
Jan Böhmer 2024-09-08 19:40:43 +02:00
parent 7366a33fe5
commit 8c8b44baef

View file

@ -1,5 +1,5 @@
ARG BASE_IMAGE=debian:bullseye-slim
ARG PHP_VERSION=8.1
ARG BASE_IMAGE=debian:bookworm-slim
ARG PHP_VERSION=8.2
FROM ${BASE_IMAGE} AS base
ARG PHP_VERSION
@ -48,7 +48,7 @@ RUN apt-get update && apt-get -y install \
# Install node and yarn
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
curl -sL https://deb.nodesource.com/setup_18.x | bash - && \
curl -sL https://deb.nodesource.com/setup_20.x | bash - && \
apt-get update && apt-get install -y \
nodejs \
yarn \