Graylog2 / graylog-docker

Official Graylog Docker image
https://hub.docker.com/r/graylog/graylog/
Apache License 2.0
356 stars 133 forks source link

Image for arm64 architecture tag problem #175

Closed danielporto closed 2 years ago

danielporto commented 2 years ago

The arm64 images currently provided under a different tag in dockerhub, namely 4.1.3-arm64 instead of simply 4.1.3 with multiarch support. This is problematic because dockerfiles, stack or compose files are not meant to declare the system architecture when downloading a stack. Thus, we need to keep two different files (one with each tag) just to be able to deploy it in different architectures - ex amazon arm64 and and x86_64 instances.

As exemplified by this comment in issue 153 is it possible to have the same tag for multiple architectures using buildx.

It would really be nice to have the same stack file for both architectures.

malcyon commented 2 years ago

I agree that this would be good. However, it would mean we would have to move our build pipeline off of Docker Hub, since Docker Hub doesn't support ARM builds. And we're pretty happy with Docker Hub, other than this one thing.

I have a Jenkins job set up to do the multiarch build, but right now it's just building the arm image. I think we want to see how stable that job is and if it gives us any problems before we consider migrating the Docker Hub stuff to it.

malcyon commented 2 years ago

Our images are now multiarch, and I've updated the README with the details. We won't be using the -arm64 tags going forward.

Edit: This is only true for 4.2. I still need to fix the 4.1 image pipeline.

malcyon commented 2 years ago

Alright, I fixed the 4.1 images as well. Multiarch images are present in 4.2 and 4.1 now.