feat: php8.1 upgrade (#18)

This commit is contained in:
2025-04-06 16:35:35 +03:00
committed by GitHub
parent 7c577f7e01
commit 8cce1ca812
3 changed files with 4 additions and 4 deletions

View File

@@ -21,5 +21,5 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }} username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.DOCKERHUB_TOKEN }}
default_branch: main default_branch: main
tags: "latest,php74" tags: "latest,php81"
cache: ${{ github.event_name != 'schedule' }} cache: ${{ github.event_name != 'schedule' }}

View File

@@ -1,4 +1,4 @@
FROM php:7.4 FROM php:8.1
SHELL ["/bin/bash", "-o", "pipefail", "-c"] SHELL ["/bin/bash", "-o", "pipefail", "-c"]
@@ -9,7 +9,7 @@ RUN echo "" \
&& apt-get update \ && apt-get update \
&& apt-get install -y \ && apt-get install -y \
libicu-dev libxml2-dev libfreetype6-dev libjpeg62-turbo-dev \ libicu-dev libxml2-dev libfreetype6-dev libjpeg62-turbo-dev \
libpng-dev libonig-dev libmagickwand-dev python-dev unzip \ libpng-dev libonig-dev libmagickwand-dev python-dev-is-python3 unzip \
&& apt-get clean \ && apt-get clean \
&& rm -rf /var/lib/apt/lists/* \ && rm -rf /var/lib/apt/lists/* \
&& docker-php-ext-configure gd --with-freetype --with-jpeg \ && docker-php-ext-configure gd --with-freetype --with-jpeg \

View File

@@ -1,6 +1,6 @@
# docker-php-with-imagick # docker-php-with-imagick
PHP 7.4 with imagick for specific purposes PHP 8.1 with imagick for specific purposes
## Building locally ## Building locally