Skip to content

Commit

Permalink
8.1, 8.2, 8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
golflima committed Mar 22, 2024
1 parent 44a2e28 commit 3149364
Show file tree
Hide file tree
Showing 29 changed files with 464 additions and 26 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-5.6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
- .github/workflows/build-5.6.yml
- build/**
- php5.6/**
workflow_dispatch:

jobs:
build-docker-php56:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-7.0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
- .github/workflows/build-7.0.yml
- build/**
- php7.0/**
workflow_dispatch:

jobs:
build-docker-php70:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-7.1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
- .github/workflows/build-7.1.yml
- build/**
- php7.1/**
workflow_dispatch:

jobs:
build-docker-php71:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-7.2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
- .github/workflows/build-7.2.yml
- build/**
- php7.2/**
workflow_dispatch:

jobs:
build-docker-php72:
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/build-7.3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
- .github/workflows/build-7.3.yml
- build/**
- php7.3/**
workflow_dispatch:

jobs:
build-docker-php73:
Expand All @@ -34,7 +35,7 @@ jobs:
tags: |
frxyt/php-dev:7.3
frxyt/php-dev:7.3-apache
frxyt/php-dev:7.3-apache-buster
frxyt/php-dev:7.3-apache-bullseye
- name: Build and push - frxyt/php-dev:7.3-cli
uses: docker/build-push-action@v2
with:
Expand All @@ -44,7 +45,7 @@ jobs:
platforms: linux/amd64,linux/arm64
tags: |
frxyt/php-dev:7.3-cli
frxyt/php-dev:7.3-cli-buster
frxyt/php-dev:7.3-cli-bullseye
- name: Build and push - frxyt/php-dev:7.3-fpm
uses: docker/build-push-action@v2
with:
Expand All @@ -54,4 +55,4 @@ jobs:
platforms: linux/amd64,linux/arm64
tags: |
frxyt/php-dev:7.3-fpm
frxyt/php-dev:7.3-fpm-buster
frxyt/php-dev:7.3-fpm-bullseye
7 changes: 4 additions & 3 deletions .github/workflows/build-7.4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
- .github/workflows/build-7.4.yml
- build/**
- php7.4/**
workflow_dispatch:

jobs:
build-docker-php74:
Expand Down Expand Up @@ -35,7 +36,7 @@ jobs:
frxyt/php-dev:latest
frxyt/php-dev:7.4
frxyt/php-dev:7.4-apache
frxyt/php-dev:7.4-apache-buster
frxyt/php-dev:7.4-apache-bullseye
- name: Build and push - frxyt/php-dev:7.4-cli
uses: docker/build-push-action@v2
with:
Expand All @@ -45,7 +46,7 @@ jobs:
platforms: linux/amd64,linux/arm64
tags: |
frxyt/php-dev:7.4-cli
frxyt/php-dev:7.4-cli-buster
frxyt/php-dev:7.4-cli-bullseye
- name: Build and push - frxyt/php-dev:7.4-fpm
uses: docker/build-push-action@v2
with:
Expand All @@ -55,4 +56,4 @@ jobs:
platforms: linux/amd64,linux/arm64
tags: |
frxyt/php-dev:7.4-fpm
frxyt/php-dev:7.4-fpm-buster
frxyt/php-dev:7.4-fpm-bullseye
7 changes: 4 additions & 3 deletions .github/workflows/build-8.0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
- .github/workflows/build-8.0.yml
- build/**
- php8.0/**
workflow_dispatch:

jobs:
build-docker-php80:
Expand All @@ -34,7 +35,7 @@ jobs:
tags: |
frxyt/php-dev:8.0
frxyt/php-dev:8.0-apache
frxyt/php-dev:8.0-apache-buster
frxyt/php-dev:8.0-apache-bullseye
- name: Build and push - frxyt/php-dev:8.0-cli
uses: docker/build-push-action@v2
with:
Expand All @@ -44,7 +45,7 @@ jobs:
platforms: linux/amd64,linux/arm64
tags: |
frxyt/php-dev:8.0-cli
frxyt/php-dev:8.0-cli-buster
frxyt/php-dev:8.0-cli-bullseye
- name: Build and push - frxyt/php-dev:8.0-fpm
uses: docker/build-push-action@v2
with:
Expand All @@ -54,4 +55,4 @@ jobs:
platforms: linux/amd64,linux/arm64
tags: |
frxyt/php-dev:8.0-fpm
frxyt/php-dev:8.0-fpm-buster
frxyt/php-dev:8.0-fpm-bullseye
58 changes: 58 additions & 0 deletions .github/workflows/build-8.1.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: Build Docker images for PHP 8.1

on:
push:
branches:
- master
paths:
- .github/workflows/build-8.1.yml
- build/**
- php8.1/**
workflow_dispatch:

jobs:
build-docker-php80:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
# PHP 8.1
- name: Build and push - frxyt/php-dev:8.1-apache
uses: docker/build-push-action@v2
with:
context: .
file: ./php8.1/Dockerfile-apache
push: true
platforms: linux/amd64,linux/arm64
tags: |
frxyt/php-dev:8.1
frxyt/php-dev:8.1-apache
frxyt/php-dev:8.1-apache-bullseye
- name: Build and push - frxyt/php-dev:8.1-cli
uses: docker/build-push-action@v2
with:
context: .
file: ./php8.1/Dockerfile-cli
push: true
platforms: linux/amd64,linux/arm64
tags: |
frxyt/php-dev:8.1-cli
frxyt/php-dev:8.1-cli-bullseye
- name: Build and push - frxyt/php-dev:8.1-fpm
uses: docker/build-push-action@v2
with:
context: .
file: ./php8.1/Dockerfile-fpm
push: true
platforms: linux/amd64,linux/arm64
tags: |
frxyt/php-dev:8.1-fpm
frxyt/php-dev:8.1-fpm-bullseye
58 changes: 58 additions & 0 deletions .github/workflows/build-8.2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: Build Docker images for PHP 8.2

on:
push:
branches:
- master
paths:
- .github/workflows/build-8.2.yml
- build/**
- php8.2/**
workflow_dispatch:

jobs:
build-docker-php80:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
# PHP 8.2
- name: Build and push - frxyt/php-dev:8.2-apache
uses: docker/build-push-action@v2
with:
context: .
file: ./php8.2/Dockerfile-apache
push: true
platforms: linux/amd64,linux/arm64
tags: |
frxyt/php-dev:8.2
frxyt/php-dev:8.2-apache
frxyt/php-dev:8.2-apache-bullseye
- name: Build and push - frxyt/php-dev:8.2-cli
uses: docker/build-push-action@v2
with:
context: .
file: ./php8.2/Dockerfile-cli
push: true
platforms: linux/amd64,linux/arm64
tags: |
frxyt/php-dev:8.2-cli
frxyt/php-dev:8.2-cli-bullseye
- name: Build and push - frxyt/php-dev:8.2-fpm
uses: docker/build-push-action@v2
with:
context: .
file: ./php8.2/Dockerfile-fpm
push: true
platforms: linux/amd64,linux/arm64
tags: |
frxyt/php-dev:8.2-fpm
frxyt/php-dev:8.2-fpm-bullseye
58 changes: 58 additions & 0 deletions .github/workflows/build-8.3.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: Build Docker images for PHP 8.3

on:
push:
branches:
- master
paths:
- .github/workflows/build-8.3.yml
- build/**
- php8.3/**
workflow_dispatch:

jobs:
build-docker-php80:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
# PHP 8.3
- name: Build and push - frxyt/php-dev:8.3-apache
uses: docker/build-push-action@v2
with:
context: .
file: ./php8.3/Dockerfile-apache
push: true
platforms: linux/amd64,linux/arm64
tags: |
frxyt/php-dev:8.3
frxyt/php-dev:8.3-apache
frxyt/php-dev:8.3-apache-bullseye
- name: Build and push - frxyt/php-dev:8.3-cli
uses: docker/build-push-action@v2
with:
context: .
file: ./php8.3/Dockerfile-cli
push: true
platforms: linux/amd64,linux/arm64
tags: |
frxyt/php-dev:8.3-cli
frxyt/php-dev:8.3-cli-bullseye
- name: Build and push - frxyt/php-dev:8.3-fpm
uses: docker/build-push-action@v2
with:
context: .
file: ./php8.3/Dockerfile-fpm
push: true
platforms: linux/amd64,linux/arm64
tags: |
frxyt/php-dev:8.3-fpm
frxyt/php-dev:8.3-fpm-bullseye
9 changes: 7 additions & 2 deletions build/build
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,12 @@ if [[ "${FRX_PHP_VERSION}" =~ ^(7.[34])|(8.) ]]; then
fi

# Install PHP CS Fixer
curl -sSL https://cs.symfony.com/download/php-cs-fixer-v2.phar -o /usr/local/bin/php-cs-fixer
if [[ "${FRX_PHP_VERSION}" =~ ^(5.6)|(7.[1234])|(8.0) ]]; then
curl -sSL https://cs.symfony.com/download/php-cs-fixer-v2.phar -o /usr/local/bin/php-cs-fixer
fi
if [[ "${FRX_PHP_VERSION}" =~ ^8.[123] ]]; then
curl -sSL https://cs.symfony.com/download/php-cs-fixer-v3.phar -o /usr/local/bin/php-cs-fixer
fi
chmod a+x /usr/local/bin/php-cs-fixer

# Install PHP_Depend
Expand All @@ -112,7 +117,7 @@ chmod a+x /usr/local/bin/phpmd
if [[ "${FRX_PHP_VERSION}" =~ ^5.6 ]]; then
curl -sSL https://github.com/phpmetrics/PhpMetrics/releases/download/v2.3.2/phpmetrics.phar -o /usr/local/bin/phpmetrics
else
curl -sSL https://github.com/phpmetrics/PhpMetrics/releases/latest/download/phpmetrics.phar -o /usr/local/bin/phpmetrics
curl -sSL https://github.com/phpmetrics/PhpMetrics/releases/download/v2.8.1/phpmetrics.phar -o /usr/local/bin/phpmetrics
fi
chmod a+x /usr/local/bin/phpmetrics

Expand Down
2 changes: 1 addition & 1 deletion php7.3/Dockerfile-apache
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:7.3-apache-buster
FROM php:7.3-apache-bullseye

LABEL maintainer="Jérémy WALTHER <jeremy@ferox.yt>"

Expand Down
2 changes: 1 addition & 1 deletion php7.3/Dockerfile-cli
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:7.3-cli-buster
FROM php:7.3-cli-bullseye

LABEL maintainer="Jérémy WALTHER <jeremy@ferox.yt>"

Expand Down
2 changes: 1 addition & 1 deletion php7.3/Dockerfile-fpm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:7.3-fpm-buster
FROM php:7.3-fpm-bullseye

LABEL maintainer="Jérémy WALTHER <jeremy@ferox.yt>"

Expand Down
2 changes: 1 addition & 1 deletion php7.4/Dockerfile-apache
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:7.4-apache-buster
FROM php:7.4-apache-bullseye

LABEL maintainer="Jérémy WALTHER <jeremy@ferox.yt>"

Expand Down
2 changes: 1 addition & 1 deletion php7.4/Dockerfile-cli
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:7.4-cli-buster
FROM php:7.4-cli-bullseye

LABEL maintainer="Jérémy WALTHER <jeremy@ferox.yt>"

Expand Down
2 changes: 1 addition & 1 deletion php7.4/Dockerfile-fpm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:7.4-fpm-buster
FROM php:7.4-fpm-bullseye

LABEL maintainer="Jérémy WALTHER <jeremy@ferox.yt>"

Expand Down
6 changes: 3 additions & 3 deletions php8.0/Dockerfile-apache
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:8.0-apache-buster
FROM php:8.0-apache-bullseye

LABEL maintainer="Jérémy WALTHER <jeremy@ferox.yt>"

Expand All @@ -19,8 +19,8 @@ ENV COMPOSER_ALLOW_SUPERUSER=1 \
FRX_PHP_XDEBUG_CLIENT_PORT=9003 \
FRX_PHP_XDEBUG_DISCOVER_CLIENT_HOST=false \
FRX_PHP_XDEBUG_MAX_NESTING_LEVEL=-1 \
FRX_PHP_XDEBUG_MODE=debug \
FRX_PHP_XDEBUG_START_WITH_REQUEST=yes \
FRX_PHP_XDEBUG_MODE=off \
FRX_PHP_XDEBUG_START_WITH_REQUEST=default \
FRX_SCRIPT_START=

COPY ./build ./Dockerfile ./LICENSE ./README.md /frx/
Expand Down
Loading

0 comments on commit 3149364

Please sign in to comment.