Docker Image packaging for PHP. (amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le,riscv64, s390x)
To help you get started creating a container from this image you can either use docker-compose or the docker cli.
docker run -d \
--name=php \
-e TZ=Asia/Shanghai \
--restart unless-stopped \
snowdreamtech/php:latest
docker run -d \
--name=php \
-e TZ=Asia/Shanghai \
-v /path/to/data:/path/to/data \
--restart unless-stopped \
snowdreamtech/php:latest
version: "3"
services:
php:
image: snowdreamtech/php:latest
container_name: php
environment:
- TZ=Asia/Shanghai
restart: unless-stopped
version: "3"
services:
php:
image: snowdreamtech/php:latest
container_name: php
environment:
- TZ=Asia/Shanghai
volumes:
- /path/to/data:/path/to/data
restart: unless-stopped
docker buildx create --use --name build --node build --driver-opt network=host
docker buildx build -t snowdreamtech/php --platform=linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/ppc64le,linux/riscv64,linux/s390x . --push
MIT