You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #8544 arm64/aarch64 image variants were validated and made available for CentOS, Debian & Ubuntu, but not for the Alpine variants.
Given the Alpine variant of the server is the main official supported image (and default in the Helm Chart), and the Alpine agents are the most commonly used, it would be much better to be able to have arm64 variants of these. (edit: in 24.1.0 onwards, due to #12500, the server image uses Wolfi instead, and wolfi will be default agent example and Helm image)
Unfortunately, there are a couple of blockers that need to be resolved
Currently the Alpine images require glibc to be installed due to the Tanuki Wrapper.
The wrapper does not work with musl libc (and neither with libc6-compat or gcompat compatibility layers being installed at time of writing)
glibc is installed via https://github.com/sgerrand/alpine-pkg-glibc despite this not being supported OR recommended by the Alpine team. This means the JRE bundled on Alpine is ALSO the glibc variant
alpine-pkg-glibc does not have arm64 builds available right now - only x64
Possible Solutions
OPTIMAL > Tanuki Wrapper provide Alpine/musl libc wrapper binaries for both x64 and arm64 AND Eclipse Temurim provide Alpine arm64 builds
This seems like it might be possible from the Tanuki folks, based on private comms in early 2023. Subsequent to this issue being raised Adoptium/Temurin has aarch64 Alpine builds of Java 21 (but not 17)
Get GoCD to default to Java 21 (done as of GoCD 24.2.0)
Include new tanuki wrapper binaries in Alpine builds
Is there any arm64 gocd server and agent images, Alpine, Ubuntu or any other distro I could use right now to run gocd in containers? Can't find them on docker hub.
If Alpine images are giving some work, why not release Ubuntu based images meanwhile?
As the description says, in #8544 this exactly was done.
Agent images for CentOS, Debian, Ubuntu are all multi-arch since 23.1.0. The only alternate server image to Alpine is CentOS Stream 9 and is at https://hub.docker.com/r/gocd/gocd-server-centos-9 - also multi-arch.
chadlwilson
changed the title
Provide arm64/aarch64 Alpine container image variants
Provide arm64/aarch64 Alpine agent container image variants
Feb 4, 2024
Issue Type
Summary
In #8544 arm64/aarch64 image variants were validated and made available for CentOS, Debian & Ubuntu, but not for the Alpine variants.
Given the Alpine variant of the server is the main official supported image (and default in the Helm Chart), and the Alpine agents are the most commonly used, it would be much better to be able to have arm64 variants of these. (edit: in24.1.0
onwards, due to #12500, the server image uses Wolfi instead, and wolfi will be default agent example and Helm image)Unfortunately, there are a couple of blockers that need to be resolved
libc6-compat
orgcompat
compatibility layers being installed at time of writing)Possible Solutions
The text was updated successfully, but these errors were encountered: