change installation method
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is failing

This commit is contained in:
Aaron Riedel 2024-03-17 14:19:48 +01:00
parent 90d8bb6baa
commit 0a6cdebe93
Signed by: aaron
GPG key ID: 643004654D40D577
2 changed files with 6 additions and 5 deletions

View file

@ -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:

View file

@ -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