Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 0 additions & 34 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,37 +88,3 @@ jobs:
tags: ${{ steps.meta-others.outputs.tags }}
labels: ${{ steps.meta-others.outputs.labels }}


Build_PHP_CentOS8:
strategy:
matrix:
version: ['7.2', '7.3', '7.4', '8.0', '8.1']
environment:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push CentOS based Docker images
uses: docker/build-push-action@v6
with:
push: true
context: centos8
platforms: linux/amd64
build-args: PHP_VERSION=${{ matrix.version }}
tags: ${{ secrets.IMAGE_NAME }}:${{ matrix.version }}
29 changes: 0 additions & 29 deletions .github/workflows/test-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,32 +72,3 @@ jobs:
UBUNTU_RELEASE_NAME=${{ matrix.ubuntu-release-name }}
tags: ${{ steps.meta-others.outputs.tags }}
labels: ${{ steps.meta-others.outputs.labels }}


Build_PHP_CentOS8_Test:
strategy:
matrix:
version: ['7.2', '7.3', '7.4', '8.0', '8.1']
environment:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build and push CentOS based Docker images
uses: docker/build-push-action@v6
with:
push: false
context: centos8
platforms: linux/amd64
build-args: PHP_VERSION=${{ matrix.version }}
tags: ${{ secrets.IMAGE_NAME }}:${{ matrix.version }}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Base PHP

This image is the parent for a number of downstream images that make use of PHP either as a commandline tool or for php-fpm. The images are created from a number of base operating systems including CentOS 7, Rocky Linux 8 and Ubuntu 22.04 and 24.04. The non-Ubuntu based images are now deprecated and will be replaced with Ubuntu based images over time. This image is meant to be minimal and aims to support the needs of a WordPress ecosystem. The images are offered in both x86_64 and arm64 architectures.
This image is the parent for a number of downstream images that make use of PHP either as a commandline tool or for php-fpm. The images are created from a number of base operating systems including Rocky Linux 8 and Ubuntu 22.04 and 24.04. The non-Ubuntu based images are now deprecated and will be replaced with Ubuntu based images over time. This image is meant to be minimal and aims to support the needs of a WordPress ecosystem. The images are offered in both x86_64 and arm64 architectures.

## Usage

This image, by itself, is not particularly useful. When run it passes arguments to PHP. This image is used by [10up/wp-php-fpm](https://github.com/10up/wp-php-fpm), [10up/wp-php-fpm-dev](https://github.com/10up/wp-php-fpm-dev) and more. You might use it as the basis for your own image.

## Building

There are currently a number of images being built for the different operating systems. This image is built with support for PHP 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3 and 8.4. Note that we do not build CentOS/Rocky Linux based images beyond 8.1 and they will be removed in the future.
There are currently a number of images being built for the different operating systems. This image is built with support for PHP 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3 and 8.4. Note that we do not build Rocky Linux based images beyond 8.1 and they will be removed in the future.

Also note that CentOS/RL based images are not being pushed to ghcr.io!

Expand Down