mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Use debian bookworm, PHP 8.2 and node 20 for the docker image by default
This commit is contained in:
parent
7366a33fe5
commit
8c8b44baef
1 changed files with 3 additions and 3 deletions
|
@ -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 \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue