Skip to content

Commit

Permalink
Add PHP 8.2 support
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesChou committed Dec 9, 2022
1 parent e24bb6a commit b660c3f
Show file tree
Hide file tree
Showing 20 changed files with 194 additions and 71 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/docker_hub_registry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
steps:
- uses: actions/checkout@master
- name: Build latest CLI version and publish
uses: elgohr/Publish-Docker-Github-Action@3.04
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: mileschou/xdebug
tags: "latest,cli,8.1"
tags: "latest,cli,8.2"
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
dockerfile: 8.1/Dockerfile
Expand All @@ -25,10 +25,10 @@ jobs:
steps:
- uses: actions/checkout@master
- name: Build latest Alpine version and publish
uses: elgohr/Publish-Docker-Github-Action@3.04
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: mileschou/xdebug
tags: "alpine,8.1-alpine"
tags: "alpine,8.2-alpine"
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
dockerfile: 8.1/alpine/Dockerfile
Expand All @@ -38,10 +38,10 @@ jobs:
steps:
- uses: actions/checkout@master
- name: Build latest Apache version and publish
uses: elgohr/Publish-Docker-Github-Action@3.04
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: mileschou/xdebug
tags: "apache,8.1-apache"
tags: "apache,8.2-apache"
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
dockerfile: 8.1/apache/Dockerfile
Expand All @@ -50,11 +50,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
version: ["8.0", "7.4", "7.3", "7.2", "7.1", "7.0", "5.6", "5.5"]
version: ["8.1", "8.0", "7.4", "7.3", "7.2", "7.1", "7.0", "5.6", "5.5"]
steps:
- uses: actions/checkout@master
- name: Build PHP ${{ matrix.version }} CLI and publish
uses: elgohr/Publish-Docker-Github-Action@3.04
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: mileschou/xdebug
tags: ${{ matrix.version }},${{ matrix.version }}-cli
Expand All @@ -66,11 +66,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
version: ["8.0", "7.4", "7.3", "7.2", "7.1", "7.0", "5.6", "5.5"]
version: ["8.1", "8.0", "7.4", "7.3", "7.2", "7.1", "7.0", "5.6", "5.5"]
steps:
- uses: actions/checkout@master
- name: Build PHP ${{ matrix.version }} Alpine and publish
uses: elgohr/Publish-Docker-Github-Action@3.04
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: mileschou/xdebug:${{ matrix.version }}-alpine
username: ${{ secrets.DOCKER_HUB_USERNAME }}
Expand All @@ -81,11 +81,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
version: ["8.0", "7.4", "7.3", "7.2", "7.1", "7.0", "5.6", "5.5"]
version: ["8.1", "8.0", "7.4", "7.3", "7.2", "7.1", "7.0", "5.6", "5.5"]
steps:
- uses: actions/checkout@master
- name: Build PHP ${{ matrix.version }} Apache and publish
uses: elgohr/Publish-Docker-Github-Action@3.04
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: mileschou/xdebug:${{ matrix.version }}-apache
username: ${{ secrets.DOCKER_HUB_USERNAME }}
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/github_container_registry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
steps:
- uses: actions/checkout@master
- name: Build latest CLI version and publish
uses: elgohr/Publish-Docker-Github-Action@3.04
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: mileschou/xdebug
tags: "latest,8.1"
tags: "latest,8.2"
username: mileschou
password: ${{ secrets.GITHUB_TOKEN }}
registry: ghcr.io
Expand All @@ -28,10 +28,10 @@ jobs:
steps:
- uses: actions/checkout@master
- name: Build latest Alpine version and publish
uses: elgohr/Publish-Docker-Github-Action@3.04
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: mileschou/xdebug
tags: "alpine,8.1-alpine"
tags: "alpine,8.2-alpine"
username: mileschou
password: ${{ secrets.GITHUB_TOKEN }}
registry: ghcr.io
Expand All @@ -42,10 +42,10 @@ jobs:
steps:
- uses: actions/checkout@master
- name: Build latest Apache version and publish
uses: elgohr/Publish-Docker-Github-Action@3.04
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: mileschou/xdebug
tags: "apache,8.1-apache"
tags: "apache,8.2-apache"
username: mileschou
password: ${{ secrets.GITHUB_TOKEN }}
registry: ghcr.io
Expand All @@ -55,11 +55,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
version: ["8.0", "7.4", "7.3", "7.2", "7.1", "7.0", "5.6", "5.5"]
version: ["8.1", "8.0", "7.4", "7.3", "7.2", "7.1", "7.0", "5.6", "5.5"]
steps:
- uses: actions/checkout@master
- name: Build PHP ${{ matrix.version }} CLI and publish
uses: elgohr/Publish-Docker-Github-Action@3.04
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: mileschou/xdebug
tags: ${{ matrix.version }},${{ matrix.version }}-cli
Expand All @@ -72,11 +72,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
version: ["8.0", "7.4", "7.3", "7.2", "7.1", "7.0", "5.6", "5.5"]
version: ["8.1", "8.0", "7.4", "7.3", "7.2", "7.1", "7.0", "5.6", "5.5"]
steps:
- uses: actions/checkout@master
- name: Build PHP ${{ matrix.version }} Alpine and publish
uses: elgohr/Publish-Docker-Github-Action@3.04
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: mileschou/xdebug:${{ matrix.version }}-alpine
username: mileschou
Expand All @@ -88,11 +88,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
version: ["8.0", "7.4", "7.3", "7.2", "7.1", "7.0", "5.6", "5.5"]
version: ["8.1", "8.0", "7.4", "7.3", "7.2", "7.1", "7.0", "5.6", "5.5"]
steps:
- uses: actions/checkout@master
- name: Build PHP ${{ matrix.version }} Apache and publish
uses: elgohr/Publish-Docker-Github-Action@3.04
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: mileschou/xdebug:${{ matrix.version }}-apache
username: mileschou
Expand Down
2 changes: 1 addition & 1 deletion 7.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ LABEL org.opencontainers.image.source="https://github.com/MilesChou/docker-xdebu
# install xdebug
RUN set -xe && \
docker-php-source extract && \
pecl install xdebug && \
pecl install xdebug-3.1.6 && \
docker-php-ext-enable xdebug && \
docker-php-source delete && \
php -v && \
Expand Down
2 changes: 1 addition & 1 deletion 7.2/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN set -xe && \
g++ \
make \
&& \
pecl install xdebug && \
pecl install xdebug-3.1.6 && \
docker-php-ext-enable xdebug && \
docker-php-source delete && \
apk del .build-deps && \
Expand Down
2 changes: 1 addition & 1 deletion 7.2/apache/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ LABEL org.opencontainers.image.source="https://github.com/MilesChou/docker-xdebu
# install xdebug
RUN set -xe && \
docker-php-source extract && \
pecl install xdebug && \
pecl install xdebug-3.1.6 && \
docker-php-ext-enable xdebug && \
docker-php-source delete && \
php -v && \
Expand Down
2 changes: 1 addition & 1 deletion 7.3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ LABEL org.opencontainers.image.source="https://github.com/MilesChou/docker-xdebu
# install xdebug
RUN set -xe && \
docker-php-source extract && \
pecl install xdebug && \
pecl install xdebug-3.1.6 && \
docker-php-ext-enable xdebug && \
docker-php-source delete && \
php -v && \
Expand Down
2 changes: 1 addition & 1 deletion 7.3/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN set -xe && \
g++ \
make \
&& \
pecl install xdebug && \
pecl install xdebug-3.1.6 && \
docker-php-ext-enable xdebug && \
docker-php-source delete && \
apk del .build-deps && \
Expand Down
2 changes: 1 addition & 1 deletion 7.3/apache/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ LABEL org.opencontainers.image.source="https://github.com/MilesChou/docker-xdebu
# install xdebug
RUN set -xe && \
docker-php-source extract && \
pecl install xdebug && \
pecl install xdebug-3.1.6 && \
docker-php-ext-enable xdebug && \
docker-php-source delete && \
php -v && \
Expand Down
2 changes: 1 addition & 1 deletion 7.4/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ LABEL org.opencontainers.image.source="https://github.com/MilesChou/docker-xdebu
# install xdebug
RUN set -xe && \
docker-php-source extract && \
pecl install xdebug && \
pecl install xdebug-3.1.6 && \
docker-php-ext-enable xdebug && \
docker-php-source delete && \
php -v && \
Expand Down
2 changes: 1 addition & 1 deletion 7.4/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN set -xe && \
g++ \
make \
&& \
pecl install xdebug && \
pecl install xdebug-3.1.6 && \
docker-php-ext-enable xdebug && \
docker-php-source delete && \
apk del .build-deps && \
Expand Down
2 changes: 1 addition & 1 deletion 7.4/apache/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ LABEL org.opencontainers.image.source="https://github.com/MilesChou/docker-xdebu
# install xdebug
RUN set -xe && \
docker-php-source extract && \
pecl install xdebug && \
pecl install xdebug-3.1.6 && \
docker-php-ext-enable xdebug && \
docker-php-source delete && \
php -v && \
Expand Down
1 change: 1 addition & 0 deletions 8.0/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ RUN set -xe && \
apk add --no-cache --virtual .build-deps \
autoconf \
g++ \
linux-headers \
make \
&& \
pecl install xdebug && \
Expand Down
1 change: 1 addition & 0 deletions 8.1/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ RUN set -xe && \
apk add --no-cache --virtual .build-deps \
autoconf \
g++ \
linux-headers \
make \
&& \
pecl install xdebug && \
Expand Down
21 changes: 21 additions & 0 deletions 8.2/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
#
# PLEASE DO NOT EDIT IT DIRECTLY.
#
FROM php:8.2

LABEL org.opencontainers.image.source="https://github.com/MilesChou/docker-xdebug" \
repository="https://github.com/MilesChou/docker-xdebug" \
maintainer="MilesChou <jangconan@gmail.com>"

# install xdebug
RUN set -xe && \
docker-php-source extract && \
pecl install xdebug && \
docker-php-ext-enable xdebug && \
docker-php-source delete && \
php -v && \
php -m

COPY docker-xdebug-* /usr/local/bin/
28 changes: 28 additions & 0 deletions 8.2/alpine/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
#
# PLEASE DO NOT EDIT IT DIRECTLY.
#
FROM php:8.2-alpine

LABEL org.opencontainers.image.source="https://github.com/MilesChou/docker-xdebug" \
repository="https://github.com/MilesChou/docker-xdebug" \
maintainer="MilesChou <jangconan@gmail.com>"

# install xdebug
RUN set -xe && \
docker-php-source extract && \
apk add --no-cache --virtual .build-deps \
autoconf \
g++ \
linux-headers \
make \
&& \
pecl install xdebug && \
docker-php-ext-enable xdebug && \
docker-php-source delete && \
apk del .build-deps && \
php -v && \
php -m

COPY docker-xdebug-* /usr/local/bin/
21 changes: 21 additions & 0 deletions 8.2/apache/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
#
# PLEASE DO NOT EDIT IT DIRECTLY.
#
FROM php:8.2-apache

LABEL org.opencontainers.image.source="https://github.com/MilesChou/docker-xdebug" \
repository="https://github.com/MilesChou/docker-xdebug" \
maintainer="MilesChou <jangconan@gmail.com>"

# install xdebug
RUN set -xe && \
docker-php-source extract && \
pecl install xdebug && \
docker-php-ext-enable xdebug && \
docker-php-source delete && \
php -v && \
php -m

COPY docker-xdebug-* /usr/local/bin/
23 changes: 23 additions & 0 deletions Dockerfile-alpine-8.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
FROM php:%%PHP_VERSION%%

LABEL org.opencontainers.image.source="https://github.com/MilesChou/docker-xdebug" \
repository="https://github.com/MilesChou/docker-xdebug" \
maintainer="MilesChou <jangconan@gmail.com>"

# install xdebug
RUN set -xe && \
docker-php-source extract && \
apk add --no-cache --virtual .build-deps \
autoconf \
g++ \
linux-headers \
make \
&& \
pecl install %%XDEBUG_VERSION%% && \
docker-php-ext-enable xdebug && \
docker-php-source delete && \
apk del .build-deps && \
php -v && \
php -m

COPY docker-xdebug-* /usr/local/bin/
Loading

0 comments on commit b660c3f

Please sign in to comment.