Inspired by karser/docker-compose-ci, this CI image is adapted to multi-arch: arm64, amd64 and others using docker buildx
This image can be found on docker hub as kobebigs/docker-compose-ci
docker pull kobebigs/docker-compose-ci
To use the multi-platform feature, create and initialize a driver. Do not use docker driver as it doesn't support it.
docker buildx create --use --name <name of driver>
Build for muti-platform
docker buildx build --platform linux/arm64,linux/amd64,linux/arm/v7,linux/arm/v6 -t <tagname> -f Dockerfile .
Use docker buildx build -t <tagname> -f Dockerfile .
for single platform.
- Written & maintained by: kobebigs