Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

specsnl/php84

Open more actions menu

Repository files navigation

php84

Build Images

A PHP 8.4 (FPM, Apache and FrankenPHP) based Docker base image.

Pulling the images

docker pull ghcr.io/ilyes512/php84:runtime-latest
docker pull ghcr.io/ilyes512/php84:builder-latest
docker pull ghcr.io/ilyes512/php84:builder_nodejs-latest

docker pull ghcr.io/ilyes512/php84/apache:runtime-latest
docker pull ghcr.io/ilyes512/php84/apache:builder-latest
docker pull ghcr.io/ilyes512/php84/apache:builder_nodejs-latest

docker pull ghcr.io/ilyes512/php84/frankenphp:runtime-latest
docker pull ghcr.io/ilyes512/php84/frankenphp:builder-latest
docker pull ghcr.io/ilyes512/php84/frankenphp:builder_nodejs-latest

The tag scheme: {TARGET}-{VERSION}

  • {TARGET}: runtime, builder or builder_nodejs
  • {VERSION}: latest or tag i.e. 1.0.0

Building the docker image(s)

There are multiple targets:

  • runtime: this is for production. It does not contain any development tools like Composer and Xdebug.
  • builder: this is for development. This is based on the runtime-target and it adds Composer, Xdebug etc.
  • builder_nodejs: this is for development. This is based on the builder-target and it adds NodeJS.

Building runtime-target:

docker build --tag ghcr.io/ilyes512/php84:runtime-latest --file fpm/Dockerfile --target runtime .

Building builder-target:

docker build --tag ghcr.io/ilyes512/php84:builder-latest --file fpm/Dockerfile --target builder .

Building builder_nodejs-target:

docker build --tag ghcr.io/ilyes512/php84:builder_nodejs-latest --file fpm/Dockerfile --target builder_nodejs .

Task commands

Available Task commands:

* build:              Build all PHP Docker image targets of the FPM, Apache and FrankenPHP variants
* build:apache:       Build all PHP Docker image targets of the Apache variant
* build:fpm:          Build all PHP Docker image targets of the FPM variant
* build:frankenphp:   Build all PHP Docker image targets of the FrankenPHP variant
* lint:apache:        Apply a Dockerfile linter (https://github.com/hadolint/hadolint)
* lint:fpm:           Apply a Dockerfile linter (https://github.com/hadolint/hadolint)
* lint:frankenphp:    Apply a Dockerfile linter (https://github.com/hadolint/hadolint)
* shell:apache:       Interactive shell
* shell:fpm:          Interactive shell
* shell:frankenphp:   Interactive shell

About

A PHP 8.4 FPM and Apache based Docker base image

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.