Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1.61 KB

README.md

File metadata and controls

40 lines (28 loc) · 1.61 KB

HelloWorld

HelloWorld

Docker Image packaging for HelloWorld. (amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le,riscv64, s390x)

Run

docker run --rm snowdreamtech/helloworld:latest
docker run --rm snowdreamtech/helloworld:alpine
docker run --rm snowdreamtech/helloworld:debian

Development

docker buildx create --use --name build --node build --driver-opt network=host
docker buildx build -t snowdreamtech/helloworld --platform=linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/ppc64le,linux/riscv64,linux/s390x . --push

Reference

  1. 使用 buildx 构建多平台 Docker 镜像
  2. 如何使用 docker buildx 构建跨平台 Go 镜像
  3. Building Multi-Arch Images for Arm and x86 with Docker Desktop
  4. How to Rapidly Build Multi-Architecture Images with Buildx
  5. Faster Multi-Platform Builds: Dockerfile Cross-Compilation Guide
  6. docker/buildx

Contact (备注:alpine)

  • Email: sn0wdr1am@qq.com
  • QQ: 3217680847
  • QQ群: 949022145
  • WeChat/微信群: sn0wdr1am

License

MIT