From c8891bd777bd4a3cea918a6b0111cac3550c3b0e Mon Sep 17 00:00:00 2001 From: Kai Sassnowski Date: Fri, 17 May 2024 09:56:58 +0200 Subject: [PATCH] feat: add php 8.3 support --- .github/dependabot.yml | 6 +++--- .github/workflows/packages.yml | 2 ++ {8.0 => 8.3}/Dockerfile | 11 ++++------- 3 files changed, 9 insertions(+), 10 deletions(-) rename {8.0 => 8.3}/Dockerfile (87%) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 60f7866..2a8e2f2 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,7 +1,7 @@ version: 2 updates: - package-ecosystem: "docker" - directory: "/8.0" + directory: "/8.1" schedule: interval: "daily" ignore: @@ -9,7 +9,7 @@ updates: update-types: ["version-update:semver-major"] - package-ecosystem: "docker" - directory: "/8.1" + directory: "/8.2" schedule: interval: "daily" ignore: @@ -17,7 +17,7 @@ updates: update-types: ["version-update:semver-major"] - package-ecosystem: "docker" - directory: "/8.2" + directory: "/8.3" schedule: interval: "daily" ignore: diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml index 6bdf767..513c9ff 100644 --- a/.github/workflows/packages.yml +++ b/.github/workflows/packages.yml @@ -15,6 +15,8 @@ jobs: strategy: matrix: include: + - tag: "latest" + php: "8.3" - tag: "latest" php: "8.2" - tag: "stable" diff --git a/8.0/Dockerfile b/8.3/Dockerfile similarity index 87% rename from 8.0/Dockerfile rename to 8.3/Dockerfile index 32073f1..65a0690 100644 --- a/8.0/Dockerfile +++ b/8.3/Dockerfile @@ -1,4 +1,4 @@ -FROM php:8.0.13-alpine3.13 +FROM php:8.3-alpine3.17 # Add docker-php-extension-installer script ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/ @@ -15,6 +15,7 @@ RUN apk add --no-cache \ icu-libs \ libc-dev \ libzip-dev \ + libldap \ make \ mysql-client \ nodejs \ @@ -22,6 +23,7 @@ RUN apk add --no-cache \ oniguruma-dev \ yarn \ openssh-client \ + openldap-dev \ postgresql-libs \ rsync \ zlib-dev @@ -38,20 +40,15 @@ RUN chmod +x /usr/local/bin/install-php-extensions && \ exif \ gd \ intl \ - ldap \ - mbstring \ - pdo \ pdo_mysql \ pdo_pgsql \ pcntl \ soap \ + ldap \ zip # Add local and global vendor bin to PATH. ENV PATH ./vendor/bin:/composer/vendor/bin:/root/.composer/vendor/bin:/usr/local/bin:$PATH -# Install PHP_CodeSniffer -RUN composer global require "squizlabs/php_codesniffer=*" - # Setup working directory WORKDIR /var/www