diff options
author | Albin Vass <albin.vass@zenseact.com> | 2022-07-14 10:34:04 +0200 |
---|---|---|
committer | James E. Blair <jim@acmegating.com> | 2022-07-15 15:38:34 -0700 |
commit | 559602910ff57f90e6478e748d17e0e298430c73 (patch) | |
tree | a0883d2234487eb74fc17d966e835c37eddfd4f9 /Dockerfile | |
parent | dd9579fc1ac89afe496352dadd568645d3c54c23 (diff) | |
download | zuul-559602910ff57f90e6478e748d17e0e298430c73.tar.gz |
Use debian bookworm version of libc-bin
Ansible can deadlock when using a libc version lower than 2.33
because of ansible using os.fork for starting new processes.
See:
https://sourceware.org/bugzilla/show_bug.cgi?id=24941
https://github.com/ansible/ansible/issues/59642
https://github.com/ansible/ansible/blob/devel/lib/ansible/utils/multiprocessing.py#L17
Change-Id: I76ba278d1ffecbd00886531b4554d7aed21c43df
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile index c6cc17651..0c1118ccb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -69,7 +69,13 @@ COPY --from=builder /usr/local/lib/zuul/ /usr/local/lib/zuul COPY --from=builder /tmp/openshift-install/kubectl /usr/local/bin/kubectl COPY --from=builder /tmp/openshift-install/oc /usr/local/bin/oc +# We need libc >= 2.33 due to +# https://github.com/ansible/ansible/issues/78270 +RUN echo 'APT::Default-Release "stable";' >> /etc/apt/apt.conf.d/99defaultrelease +RUN echo "deb http://deb.debian.org/debian/ bookworm main contrib non-free" > /etc/apt/sources.list.d/testing.list + RUN apt-get update \ + && apt-get -t bookworm install -y libc-bin \ && apt-get install -y skopeo \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* |