Closed mirjak closed 4 years ago
Not sure what the problem here is. We're using Ubuntu 20.04 as a base image, as 19.04 reached the end of its lifetime.
When I try to build an image with you image as the base image it doesn't find some archives:
Building server Step 1/10 : FROM martenseemann/quic-network-simulator-endpoint:latest ---> 4d5bd379e5fb Step 2/10 : RUN apt-get update ---> Running in 2c253300a56a Ign:1 http://archive.ubuntu.com/ubuntu disco InRelease Ign:2 http://archive.ubuntu.com/ubuntu disco-updates InRelease Ign:3 http://archive.ubuntu.com/ubuntu disco-backports InRelease Err:4 http://archive.ubuntu.com/ubuntu disco Release 404 Not Found [IP: 91.189.88.142 80] Err:5 http://archive.ubuntu.com/ubuntu disco-updates Release 404 Not Found [IP: 91.189.88.142 80] Err:6 http://archive.ubuntu.com/ubuntu disco-backports Release 404 Not Found [IP: 91.189.88.142 80] Ign:7 http://security.ubuntu.com/ubuntu disco-security InRelease Err:8 http://security.ubuntu.com/ubuntu disco-security Release 404 Not Found [IP: 91.189.88.152 80] Reading package lists... E: The repository 'http://archive.ubuntu.com/ubuntu disco Release' no longer has a Release file. E: The repository 'http://archive.ubuntu.com/ubuntu disco-updates Release' no longer has a Release file. E: The repository 'http://archive.ubuntu.com/ubuntu disco-backports Release' no longer has a Release file. E: The repository 'http://security.ubuntu.com/ubuntu disco-security Release' no longer has a Release file. ERROR: Service 'server' failed to build: The command '/bin/sh -c apt-get update' returned a non-zero code: 100
Try running a docker build --pull
. You probably have an old version of the base image cached.
Yes, was still at an old version. Sorry. Thanks!
so using martenseemann/quic-network-simulator-endpoint:latest as base images doesn't build anymore. I found this fix in the mvfst Dockerfile:
RUN sed -i -re 's/([a-z]{2}.)?archive.ubuntu.com|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list