由于没有发布文件而无法构建图像

由于没有发布文件而无法构建图像

当我尝试从 Windows powershell 构建映像时,出现了如下所示的错误。请问这是什么原因造成的,该如何解决?

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Ign:1 http://archive.ubuntu.com/ubuntu disco InRelease
Ign:2 http://archive.ubuntu.com/ubuntu disco-updates InRelease
Ign:3 http://security.ubuntu.com/ubuntu disco-security InRelease
Ign:4 http://archive.ubuntu.com/ubuntu disco-backports InRelease
Err:5 http://archive.ubuntu.com/ubuntu disco Release
  404  Not Found [IP: 91.189.88.142 80]
Err:6 http://security.ubuntu.com/ubuntu disco-security Release
  404  Not Found [IP: 91.189.91.39 80]
Err:7 http://archive.ubuntu.com/ubuntu disco-updates Release
  404  Not Found [IP: 91.189.88.142 80]
Err:8 http://archive.ubuntu.com/ubuntu disco-backports Release
  404  Not Found [IP: 91.189.88.142 80]
Reading package lists...
E: The repository 'http://archive.ubuntu.com/ubuntu disco Release' does not have a Release file.
E: The repository 'http://security.ubuntu.com/ubuntu disco-security Release' does not have a Release file.
E: The repository 'http://archive.ubuntu.com/ubuntu disco-updates Release' does not have a Release file.
E: The repository 'http://archive.ubuntu.com/ubuntu disco-backports Release' does not have a Release file.
ERROR: Service failed to build: The command '/bin/sh -c apt update &&     apt upgrade -y &&     apt install -y  software-properties-common &&     add-apt-repository ppa:openjdk-r/ppa &&     apt update &&     apt install -y openjdk-8-jdk &&     apt install -y nano less &&     apt clean' returned a non-zero code: 100```

相关内容