Update Dockerfile

This commit is contained in:
Alexandre
2023-01-08 09:37:45 +01:00
committed by GitHub
parent 84a71a3a3a
commit eaf044a214

View File

@@ -41,36 +41,36 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# Setup base # Setup base
# hadolint ignore=DL3003 # hadolint ignore=DL3003
# Install app dependencies # Install app dependencies
ARG PHPVERS="php81" ENV PHPVERS="81"
RUN apk -U update && \ RUN apk -U update && \
# hadolint ignore=DL3017 # hadolint ignore=DL3017
apk -U upgrade && \ apk -U upgrade && \
apk -U add --no-cache \ apk -U add --no-cache \
git \ git \
nginx \ nginx \
$PHPVERS \ php$PHPVERS \
$PHPVERS-fpm \ php$PHPVERS-fpm \
$PHPVERS-curl \ php$PHPVERS-curl \
$PHPVERS-dom \ php$PHPVERS-dom \
$PHPVERS-gettext \ php$PHPVERS-gettext \
$PHPVERS-xml \ php$PHPVERS-xml \
$PHPVERS-simplexml \ php$PHPVERS-simplexml \
$PHPVERS-zip \ php$PHPVERS-zip \
$PHPVERS-zlib \ php$PHPVERS-zlib \
$PHPVERS-gd \ php$PHPVERS-gd \
$PHPVERS-openssl \ php$PHPVERS-openssl \
$PHPVERS-mysqli \ php$PHPVERS-mysqli \
$PHPVERS-pdo \ php$PHPVERS-pdo \
$PHPVERS-pdo_mysql \ php$PHPVERS-pdo_mysql \
$PHPVERS-pgsql \ php$PHPVERS-pgsql \
$PHPVERS-pdo_pgsql \ php$PHPVERS-pdo_pgsql \
$PHPVERS-sqlite3 \ php$PHPVERS-sqlite3 \
$PHPVERS-pdo_sqlite \ php$PHPVERS-pdo_sqlite \
$PHPVERS-json \ php$PHPVERS-json \
$PHPVERS-mbstring \ php$PHPVERS-mbstring \
$PHPVERS-ctype \ php$PHPVERS-ctype \
$PHPVERS-opcache \ php$PHPVERS-opcache \
$PHPVERS-session \ php$PHPVERS-session \
mariadb-client \ mariadb-client \
\ \
&& mkdir -p /app \ && mkdir -p /app \