This commit is contained in:
Alexandre
2023-01-07 10:42:59 +01:00
committed by GitHub
parent d5e0168021
commit 729eb9f9bc

View File

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