/docker-compose-ci

multi-arch: arm64 & amd64 compatible image for CI builds

Primary LanguageDockerfile

docker-compose-ci

Inspired by karser/docker-compose-ci, this CI image is adapted to multi-arch: arm64, amd64 and others using docker buildx

Docker pull command

This image can be found on docker hub as kobebigs/docker-compose-ci

docker pull kobebigs/docker-compose-ci

How to use image

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.

Author