diff --git a/Dockerfile.19.04 b/Dockerfile.19.04 index b08da11..62a4503 100644 --- a/Dockerfile.19.04 +++ b/Dockerfile.19.04 @@ -78,6 +78,7 @@ RUN set -e; \ echo "Setting up prerequisites"; \ echo "$LANG UTF-8" >"/etc/locale.gen"; \ echo 'export DEBIAN_FRONTEND="'${DEBIAN_FRONTEND}'"' >"/etc/profile.d/apt.sh" && chmod 755 "/etc/profile.d/apt.sh"; \ + sed -i 's|http://\([a-z0-9.-]*\)\.archive.ubuntu.com/ubuntu|http://old-releases.ubuntu.com/ubuntu|' /etc/apt/sources.list; \ apt-get update;apt-get upgrade -yy;apt-get install -yy bash locales; \ dpkg-reconfigure --frontend=noninteractive locales;update-locale LANG=$LANG; \ update-alternatives --install /bin/sh sh /bin/bash 1 diff --git a/Dockerfile.20.04 b/Dockerfile.20.04 index b4015f3..7b78f27 100644 --- a/Dockerfile.20.04 +++ b/Dockerfile.20.04 @@ -78,6 +78,7 @@ RUN set -e; \ echo "Setting up prerequisites"; \ echo "$LANG UTF-8" >"/etc/locale.gen"; \ echo 'export DEBIAN_FRONTEND="'${DEBIAN_FRONTEND}'"' >"/etc/profile.d/apt.sh" && chmod 755 "/etc/profile.d/apt.sh"; \ + sed -i 's|http://\([a-z0-9.-]*\)\.archive.ubuntu.com/ubuntu|http://old-releases.ubuntu.com/ubuntu|' /etc/apt/sources.list; \ apt-get update;apt-get upgrade -yy;apt-get install -yy bash locales; \ dpkg-reconfigure --frontend=noninteractive locales;update-locale LANG=$LANG; \ update-alternatives --install /bin/sh sh /bin/bash 1 diff --git a/Dockerfile.21.04 b/Dockerfile.21.04 index 96c3d63..7839399 100644 --- a/Dockerfile.21.04 +++ b/Dockerfile.21.04 @@ -78,6 +78,7 @@ RUN set -e; \ echo "Setting up prerequisites"; \ echo "$LANG UTF-8" >"/etc/locale.gen"; \ echo 'export DEBIAN_FRONTEND="'${DEBIAN_FRONTEND}'"' >"/etc/profile.d/apt.sh" && chmod 755 "/etc/profile.d/apt.sh"; \ + sed -i 's|http://\([a-z0-9.-]*\)\.archive.ubuntu.com/ubuntu|http://old-releases.ubuntu.com/ubuntu|' /etc/apt/sources.list; \ apt-get update;apt-get upgrade -yy;apt-get install -yy bash locales; \ dpkg-reconfigure --frontend=noninteractive locales;update-locale LANG=$LANG; \ update-alternatives --install /bin/sh sh /bin/bash 1 diff --git a/Dockerfile.22.04 b/Dockerfile.22.04 index a645f5f..956b3e3 100644 --- a/Dockerfile.22.04 +++ b/Dockerfile.22.04 @@ -78,6 +78,7 @@ RUN set -e; \ echo "Setting up prerequisites"; \ echo "$LANG UTF-8" >"/etc/locale.gen"; \ echo 'export DEBIAN_FRONTEND="'${DEBIAN_FRONTEND}'"' >"/etc/profile.d/apt.sh" && chmod 755 "/etc/profile.d/apt.sh"; \ + sed -i 's|http://\([a-z0-9.-]*\)\.archive.ubuntu.com/ubuntu|http://old-releases.ubuntu.com/ubuntu|' /etc/apt/sources.list; \ apt-get update;apt-get upgrade -yy;apt-get install -yy bash locales; \ dpkg-reconfigure --frontend=noninteractive locales;update-locale LANG=$LANG; \ update-alternatives --install /bin/sh sh /bin/bash 1 diff --git a/Dockerfile.23.04 b/Dockerfile.23.04 index 2869023..1d75811 100644 --- a/Dockerfile.23.04 +++ b/Dockerfile.23.04 @@ -78,6 +78,7 @@ RUN set -e; \ echo "Setting up prerequisites"; \ echo "$LANG UTF-8" >"/etc/locale.gen"; \ echo 'export DEBIAN_FRONTEND="'${DEBIAN_FRONTEND}'"' >"/etc/profile.d/apt.sh" && chmod 755 "/etc/profile.d/apt.sh"; \ + sed -i 's|http://\([a-z0-9.-]*\)\.archive.ubuntu.com/ubuntu|http://old-releases.ubuntu.com/ubuntu|' /etc/apt/sources.list; \ apt-get update;apt-get upgrade -yy;apt-get install -yy bash locales; \ dpkg-reconfigure --frontend=noninteractive locales;update-locale LANG=$LANG; \ update-alternatives --install /bin/sh sh /bin/bash 1 diff --git a/Dockerfile.23.10 b/Dockerfile.23.10 index e247bf2..edc2264 100644 --- a/Dockerfile.23.10 +++ b/Dockerfile.23.10 @@ -78,6 +78,7 @@ RUN set -e; \ echo "Setting up prerequisites"; \ echo "$LANG UTF-8" >"/etc/locale.gen"; \ echo 'export DEBIAN_FRONTEND="'${DEBIAN_FRONTEND}'"' >"/etc/profile.d/apt.sh" && chmod 755 "/etc/profile.d/apt.sh"; \ + sed -i 's|http://\([a-z0-9.-]*\)\.archive.ubuntu.com/ubuntu|http://old-releases.ubuntu.com/ubuntu|' /etc/apt/sources.list; \ apt-get update;apt-get upgrade -yy;apt-get install -yy bash locales; \ dpkg-reconfigure --frontend=noninteractive locales;update-locale LANG=$LANG; \ update-alternatives --install /bin/sh sh /bin/bash 1