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
This commit is contained in:
parent
dd9579fc1a
commit
559602910f
|
@ -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/*
|
||||
|
|
Loading…
Reference in New Issue