abiosoft / caddy-docker

Docker container for Caddy
https://hub.docker.com/r/abiosoft/caddy/
MIT License
766 stars 314 forks source link

Add BuildKit definition file for cross-platform registry image #219

Open paullj1 opened 4 years ago

paullj1 commented 4 years ago

Just run:

docker builds bake -f docker-bake.hcl builder
docker builds bake -f docker-bake.hcl caddy

Buildkit will then build and push a multi-image registry manifest so it won't matter which architecture the client is using, they'll get the correct image (ARMv6, ARMv7, ARM64, or amd64).

paullj1 commented 4 years ago

FWIW, I built and pushed the latest using this to: paullj1/caddy:latest, and paullj1/caddy:builder