Docker Image packaging for PHP. (amd64, arm32v5, arm32v6, arm32v7, arm64v8, i386, mips64le, 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:latestdocker run -d \
--name=php \
-e TZ=Asia/Shanghai \
-v /path/to/data:/path/to/data \
--restart unless-stopped \
snowdreamtech/php:latestservices:
php:
image: snowdreamtech/php:latest
container_name: php
environment:
- TZ=Asia/Shanghai
restart: unless-stoppedservices:
php:
image: snowdreamtech/php:latest
container_name: php
environment:
- TZ=Asia/Shanghai
volumes:
- /path/to/data:/path/to/data
restart: unless-stoppeddocker 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- 使用 buildx 构建多平台 Docker 镜像
- 如何使用 docker buildx 构建跨平台 Go 镜像
- Building Multi-Arch Images for Arm and x86 with Docker Desktop
- How to Rapidly Build Multi-Architecture Images with Buildx
- Faster Multi-Platform Builds: Dockerfile Cross-Compilation Guide
- docker/buildx
- Email: [email protected]
- QQ: 3217680847
- QQ群: 949022145
- WeChat/微信群: sn0wdr1am
MIT
This Docker image is distributed under the MIT License.
It includes Microsoft ODBC Driver 18 for SQL Server, which is not open source.
The Microsoft ODBC Driver is provided under Microsoft’s proprietary End User License Agreement (EULA).
By using this image, you agree to the terms of the Microsoft Software License for the ODBC Driver.
- The open-source parts of this image (scripts, Dockerfile, configuration) are licensed under MIT.
- The Microsoft ODBC Driver binaries are licensed separately by Microsoft.
- You may freely use this image in commercial environments, but the driver itself remains subject to Microsoft’s EULA.
For details, see Microsoft’s official documentation:
ODBC Driver for SQL Server on Linux and macOS