Skip to content

Commit

Permalink
feat: add php 8.3 support
Browse files Browse the repository at this point in the history
  • Loading branch information
ksassnowski committed May 17, 2024
1 parent b418ed0 commit c8891bd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
version: 2
updates:
- package-ecosystem: "docker"
directory: "/8.0"
directory: "/8.1"
schedule:
interval: "daily"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-major"]

- package-ecosystem: "docker"
directory: "/8.1"
directory: "/8.2"
schedule:
interval: "daily"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-major"]

- package-ecosystem: "docker"
directory: "/8.2"
directory: "/8.3"
schedule:
interval: "daily"
ignore:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
strategy:
matrix:
include:
- tag: "latest"
php: "8.3"
- tag: "latest"
php: "8.2"
- tag: "stable"
Expand Down
11 changes: 4 additions & 7 deletions 8.0/Dockerfile → 8.3/Dockerfile
Original file line number Diff line number Diff line change
@@ -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/
Expand All @@ -15,13 +15,15 @@ RUN apk add --no-cache \
icu-libs \
libc-dev \
libzip-dev \
libldap \
make \
mysql-client \
nodejs \
npm \
oniguruma-dev \
yarn \
openssh-client \
openldap-dev \
postgresql-libs \
rsync \
zlib-dev
Expand All @@ -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

0 comments on commit c8891bd

Please sign in to comment.