From 0a6cdebe9347c82eb38216c1075c354a62a11795 Mon Sep 17 00:00:00 2001 From: Aaron Riedel Date: Sun, 17 Mar 2024 14:19:48 +0100 Subject: [PATCH] change installation method --- .drone.yml | 4 ++-- Dockerfile | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 3992c22..623d900 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,7 +13,7 @@ steps: repo: git.ar21.de/aaron/php-apache-mysql tags: latest platforms: - #- linux/arm64 + - linux/arm64 - linux/amd64 when: branch: @@ -30,7 +30,7 @@ steps: repo: git.ar21.de/aaron/php-apache-mysql tags: latest platforms: - #- linux/arm64 + - linux/arm64 - linux/amd64 dry_run: true when: diff --git a/Dockerfile b/Dockerfile index 4bd63b3..17d8a8f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,5 @@ FROM php:8.3.4-apache-bullseye -RUN apt-get update -qq && apt-get install -qq libmagickwand-dev --no-install-recommends && rm -rf /var/lib/apt/lists/* -RUN printf "\n" | pecl install imagick -RUN docker-php-ext-install mysqli pdo pdo_mysql && docker-php-ext-enable pdo_mysql imagick +RUN apt-get update -qq && apt-get install -qq libmagickwand-dev libpng-dev libjpeg-dev libtiff-dev imagemagick --no-install-recommends && rm -rf /var/lib/apt/lists/* +RUN pecl install imagick +RUN docker-php-ext-install mysqli pdo pdo_mysql +RUN docker-php-ext-enable mysqli pdo pdo_mysql imagick \ No newline at end of file