Skip to content

Split build process to allow multi arch builds#3

Open
DuckThom wants to merge 1 commit intoelzekool:masterfrom
DuckThom:feat/mulit-arch-builds
Open

Split build process to allow multi arch builds#3
DuckThom wants to merge 1 commit intoelzekool:masterfrom
DuckThom:feat/mulit-arch-builds

Conversation

@DuckThom
Copy link
Copy Markdown
Contributor

@DuckThom DuckThom commented Apr 7, 2022

Note: I've already pushed the image to https://hub.docker.com/r/elzekool/pma-autoconfig as elzekool/pma-autoconfig:latest

I've used Docker buildx on my mac to create a multiarch image:

  1. docker buildx create --driver docker-container --name local --use unix:///var/run/docker.sock
  2. docker buildx inspect --bootstrap local and verify that it shows at least linux/amd64 and linux/arm64 as available platforms
  3. docker buildx build --platform linux/arm64,linux/amd64 -t elzekool/pma-autoconfig:latest . to build and check if the build is working. add --push to push the image to docker hub

@DuckThom DuckThom force-pushed the feat/mulit-arch-builds branch from 6d236f7 to 4bd3a00 Compare April 11, 2022 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant