I did some testing and I didn't run into any issues after updating to the newer libc6 from -proposed. Looks good.
FROM ubuntu:focal ENV DEBIAN_FRONTEND noninteractive RUN mv /bin/uname /bin/uname.orig RUN printf '#!/bin/bash\n\nif [[ "$1" == "-r" ]] ;then\n echo '5.4.277-277'\n exit\nelse\n uname.orig "$@"\nfi' > /bin/uname RUN chmod 755 /bin/uname RUN echo "deb http://archive.ubuntu.com/ubuntu/ focal-proposed main" >> /etc/apt/sources.list RUN apt-get update && apt-get upgrade -y libc6 RUN apt-get install --reinstall libc6
docker build -t ${USER}:focal-libc6 .
I did some testing and I didn't run into any issues after updating to the newer libc6 from -proposed. Looks good.
FROM ubuntu:focal archive. ubuntu. com/ubuntu/ focal-proposed main" >> /etc/apt/ sources. list
ENV DEBIAN_FRONTEND noninteractive
RUN mv /bin/uname /bin/uname.orig
RUN printf '#!/bin/bash\n\nif [[ "$1" == "-r" ]] ;then\n echo '5.4.277-277'\n exit\nelse\n uname.orig "$@"\nfi' > /bin/uname
RUN chmod 755 /bin/uname
RUN echo "deb http://
RUN apt-get update && apt-get upgrade -y libc6
RUN apt-get install --reinstall libc6
docker build -t ${USER}:focal-libc6 .