Gitlab CI / Github Actions PHP runner image
4.0K
This is image is a replacement for:
It does not include NodeJS runtime anymore.
# Display all available targets
docker buildx bake --print runner
# Build all targets and push to Docker Hub
docker buildx bake runner --push
Provide these environment variables to authorize Composer to download your private repositories from a Gitlab instance:
GITLAB_DOMAIN=gitlab.com
COMPOSER_DEPLOY_TOKEN_USER=gitlab-ci-token
COMPOSER_DEPLOY_TOKEN=your-token
Then this image will execute composer config --global gitlab-token.${GITLAB_DOMAIN} ${COMPOSER_DEPLOY_TOKEN_USER} ${COMPOSER_DEPLOY_TOKEN} before running any command.
Provide these environment variables to authorize Composer to download your private repositories from a Github:
COMPOSER_GITHUB=your-token
Then this image will execute composer config --global github-oauth.github.com "$COMPOSER_GITHUB" before running any command.
You can set the PHP timezone with TIMEZONE environment variable:
TIMEZONE=Europe/Paris
This does not change the docker image system timezone, only the PHP one.
Image repository: https://github.com/ambroisemaupate/docker/tree/master/php-runner
Content type
Image
Digest
sha256:fc9787897…
Size
212.1 MB
Last updated
26 days ago
docker pull roadiz/php-runner:8.2