Compare commits

...

3 Commits

Author SHA1 Message Date
waja
1440eda077
Merge 0ccfb39d41884b639471f2fb2811cdba029b9f30 into a7ade2cbc4c2ccd9219478569caee60f69a1fed4 2024-12-18 18:18:58 +01:00
Jan Wagner
0ccfb39d41
Run pipeline on PRs too 2024-12-18 18:18:38 +01:00
waja
a7ade2cbc4
fix: pin Imagick version to fix build error (#102)
Related: #102, #103
2024-12-18 13:32:50 +01:00
2 changed files with 6 additions and 1 deletions

View File

@ -6,6 +6,8 @@ on:
branches: branches:
- master - master
- version-* - version-*
# Run tests for any PRs
pull_request:
schedule: schedule:
# Build the image regularly (each Friday) # Build the image regularly (each Friday)
- cron: '23 04 * * 5' - cron: '23 04 * * 5'

View File

@ -22,6 +22,8 @@ FROM docker.io/library/php:${PHP_VERSION}-fpm-alpine${ALPINE_VERSION} as base
ARG SNUFFLEUPAGUS_VERSION ARG SNUFFLEUPAGUS_VERSION
ENV IMAGICK_SHA 28f27044e435a2b203e32675e942eb8de620ee58
RUN apk -U upgrade \ RUN apk -U upgrade \
&& apk add -t build-deps \ && apk add -t build-deps \
$PHPIZE_DEPS \ $PHPIZE_DEPS \
@ -72,7 +74,8 @@ RUN apk -U upgrade \
&& pecl install smbclient \ && pecl install smbclient \
&& pecl install APCu \ && pecl install APCu \
&& pecl install redis \ && pecl install redis \
&& pecl install imagick \ && curl -L -o /tmp/imagick.tar.gz https://github.com/Imagick/imagick/archive/${IMAGICK_SHA}.tar.gz && tar --strip-components=1 -xf /tmp/imagick.tar.gz && phpize && ./configure && make && make install \
&& apk add --no-cache --virtual .imagick-runtime-deps imagemagick \
&& docker-php-ext-enable \ && docker-php-ext-enable \
smbclient \ smbclient \
redis \ redis \