dnscontrol icon indicating copy to clipboard operation
dnscontrol copied to clipboard

Docker image - Multi-arch

Open cafferata opened this issue 2 years ago • 3 comments

@jauderho commented

You might want to add the parameters to create multi-arch images if available/possible. Right now it looks like only amd64 is created.

The Docker image build is multi-arch compatible DOCKER_IMAGE_PLATFORM. Which arches works out of the box? What else do we want to add?

  build-docker-image:
    docker:
      - image: jdrouet/docker-with-buildx:stable

    environment:
      DOCKER_IMAGE_NAME: stackexchange/dnscontrol
      DOCKER_IMAGE_VERSION: 3.18.1
      DOCKER_IMAGE_PLATFORM: linux/amd64,linux/386

https://github.com/StackExchange/dnscontrol/blob/master/.circleci/config.yml#L21

docker-hub-stackexchange-dnscontrol-multi-arch-build

https://hub.docker.com/r/stackexchange/dnscontrol/tags

cafferata avatar Aug 11 '22 13:08 cafferata

@avdija commented

stackexchange/dnscontrol docker image will not work on ARM architecture.

cafferata avatar Aug 11 '22 14:08 cafferata

@cafferata These are the platforms/archs that I currently have images for.

See: https://hub.docker.com/r/jauderho/dnscontrol/tags

jauderho avatar Aug 11 '22 16:08 jauderho

Not all of these where building from Circle CI. But at the moment I've no working Circle CI setup (Suspended account) for testing purposes.

cafferata avatar Aug 11 '22 16:08 cafferata

Hi folks, I pushed a big update to the build. It's not everything I'd like, but I think it addresses most of the open requests.

@cafferata thank you for your help with this!

cdhunt avatar Aug 12 '22 20:08 cdhunt

ref #1682

cdhunt avatar Aug 12 '22 20:08 cdhunt

I'll take a look at this next week. If you believe that this issue has been resolved, I will close this issue. 👍

cafferata avatar Aug 14 '22 13:08 cafferata