Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 442 Bytes

docker.md

File metadata and controls

22 lines (15 loc) · 442 Bytes

Docker

Build on different platforms

This is included in the build-production-containers.sh file

To enable buildx, go to the docker desktop on mac and enable:

"features": {
    "buildkit": true
  }

Then buildx should work

docker buildx create --use
echo '>> Building the API code'
docker buildx build --push --platform linux/amd64,linux/arm64 --rm -t arkisto/oni-api:latest -f Dockerfile.api-build .