Skip to content

Commit 9f29735

Browse files
committed
imagick php8.4?
1 parent 731d320 commit 9f29735

File tree

7 files changed

+20
-154
lines changed

7 files changed

+20
-154
lines changed

.github/workflows/ci.yaml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -31,30 +31,6 @@ jobs:
3131
file: Dockerfile-7.4-apache
3232
tags: sarkedev/php:7.4-apache
3333

34-
# docker_80:
35-
# runs-on: ubuntu-latest
36-
# steps:
37-
# -
38-
# name: Set up QEMU
39-
# uses: docker/setup-qemu-action@v1
40-
# -
41-
# name: Set up Docker Buildx
42-
# uses: docker/setup-buildx-action@v1
43-
# -
44-
# name: Login to DockerHub
45-
# uses: docker/login-action@v1
46-
# with:
47-
# username: ${{ secrets.DOCKERHUB_USERNAME }}
48-
# password: ${{ secrets.DOCKERHUB_TOKEN }}
49-
# -
50-
# name: Build and push 8.0
51-
# id: docker_build_80
52-
# uses: docker/build-push-action@v2
53-
# with:
54-
# push: true
55-
# file: Dockerfile-8.0-apache
56-
# tags: sarkedev/php:8.0-apache
57-
5834
docker_81:
5935
runs-on: ubuntu-latest
6036
steps:

Dockerfile-8.0-apache

Lines changed: 0 additions & 112 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.

Dockerfile-8.4-apache renamed to apache/8.4/Dockerfile

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ RUN set -ex \
2727
# webp and gd
2828
webp libwebp-dev libjpeg62-turbo-dev libpng-dev libxpm-dev libfreetype6-dev zlib1g-dev \
2929
# magic
30-
imagemagick libcurl3-dev libicu-dev libfreetype6-dev libjpeg-dev libjpeg62-turbo-dev libonig-dev libmagickwand-dev libpq-dev libpng-dev \
30+
imagemagick libcurl3-dev libicu-dev libfreetype6-dev libjpeg-dev libjpeg62-turbo-dev libonig-dev \
31+
libmagickwand-dev libmagickcore-dev libpq-dev libpng-dev \
3132
# async
3233
libevent-dev libuv1-dev \
3334
# ssh2
@@ -57,17 +58,26 @@ RUN set -ex \
5758
&& rm -rf /tmp/* \
5859
&& docker-php-source delete
5960

60-
RUN set -ex \
61+
RUN set -ex \
6162
&& docker-php-source extract \
6263
&& pecl install \
6364
# event redis imagick igbinary ast xdebug swoole \
64-
imap redis imagick igbinary ast xdebug \
65+
imap redis igbinary ast xdebug \
6566
&& docker-php-ext-enable \
6667
# event redis imagick igbinary ast \
67-
imap redis imagick igbinary ast \
68+
imap redis igbinary ast \
6869
&& rm -rf /tmp/* \
6970
&& docker-php-source delete
7071

72+
RUN set -ex \
73+
&& docker-php-source extract \
74+
&& pecl install \
75+
imagick-beta \
76+
&& docker-php-ext-enable \
77+
imagick \
78+
&& rm -rf /tmp/* \
79+
&& docker-php-source delete
80+
7181
# Ensure runtime and assets directories exist
7282
RUN mkdir -p /app/runtime /app/web/assets \
7383
&& chown -R www-data:www-data /app/runtime /app/web/assets \

compose.yaml

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,54 +17,46 @@ services:
1717
<<: *default
1818
build:
1919
context: .
20-
dockerfile: Dockerfile-7.4-apache
20+
dockerfile: apache/7.4/Dockerfile
2121
image: 'sarkedev/php:7.4-apache'
2222
container_name: php74
2323

24-
# php80:
25-
# <<: *default
26-
# build:
27-
# context: .
28-
# dockerfile: Dockerfile-8.0-apache
29-
# image: 'sarkedev/php:8.0-apache'
30-
# container_name: php80
31-
3224
php81:
3325
<<: *default
3426
build:
3527
context: .
36-
dockerfile: Dockerfile-8.1-apache
28+
dockerfile: apache/8.1/Dockerfile
3729
image: 'sarkedev/php:8.1-apache'
3830
container_name: php81
3931

4032
github-php74:
4133
<<: *default
4234
build:
4335
context: .
44-
dockerfile: Dockerfile-7.4-apache
36+
dockerfile: apache/7.4/Dockerfile
4537
image: 'ghcr.io/sarkedev/php:7.4-apache'
4638
container_name: php74
4739

4840
github-php81:
4941
<<: *default
5042
build:
5143
context: .
52-
dockerfile: Dockerfile-8.1-apache
44+
dockerfile: apache/8.1/Dockerfile
5345
image: 'ghcr.io/sarke/php:8.1-apache'
5446
container_name: php81
5547

5648
github-php84:
5749
<<: *default
5850
build:
5951
context: .
60-
dockerfile: Dockerfile-8.4-apache
52+
dockerfile: apache/8.4/Dockerfile
6153
image: 'ghcr.io/sarke/php:8.4-apache'
6254
container_name: php84
6355

6456
github-php84-fpm:
6557
<<: *default
6658
build:
6759
context: .
68-
dockerfile: Dockerfile-8.4-fpm
60+
dockerfile: fpm/8.4/Dockerfile
6961
image: 'ghcr.io/sarke/php:8.4-fpm'
7062
container_name: php84-fpm
File renamed without changes.

0 commit comments

Comments
 (0)