Fixes
Build - Docker Image - PROD / publish (push) Has been cancelled

This commit is contained in:
JonatanRek
2026-02-03 09:22:25 +01:00
parent 305aa9c83d
commit 7461f0a25e
2 changed files with 20 additions and 16 deletions
+6 -1
View File
@@ -52,6 +52,9 @@ RUN --mount=type=cache,target=/var/cache/apt \
RUN a2enmod rewrite
# Install PHP extensions
RUN docker-php-ext-configure \
opcache --enable-opcache
RUN docker-php-ext-install \
pdo_mysql \
pgsql \
@@ -64,7 +67,9 @@ RUN docker-php-ext-install \
soap \
gd
RUN docker-php-ext-enable imagick opcache
RUN docker-php-ext-enable \
imagick \
opcache
# PHP
RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_FILE" && \
+14 -15
View File
@@ -38,21 +38,20 @@ RUN apk add --no-cache --virtual .build-deps \
libxml2-dev \
linux-headers
RUN docker-php-ext-configure gd \
--with-freetype \
--with-jpeg \
&& docker-php-ext-install -j$(nproc) \
pdo_mysql \
pdo_pgsql \
pgsql \
zip \
bcmath \
soap \
gd \
intl \
opcache \
sockets \
pcntl
RUN docker-php-ext-configure \
gd --with-freetype --with-jpeg \
&& docker-php-ext-install -j$(nproc) \
pdo_mysql \
pdo_pgsql \
pgsql \
zip \
bcmath \
soap \
gd \
intl \
opcache \
sockets \
pcntl
RUN pecl install imagick \
&& docker-php-ext-enable imagick