rosera / pet-theory

Pet Theory (Qwiklabs Quest)
GNU General Public License v3.0
98 stars 95 forks source link

modifying lab03 Dockerfile #42

Closed sravyasambaturu closed 1 year ago

sravyasambaturu commented 1 year ago
Err:12 http://deb.debian.org/debian stretch-updates/main amd64 Packages
  404  Not Found
Reading package lists...
W: The repository 'http://security.debian.org/debian-security stretch/updates Release' does not have a Release file.
W: The repository 'http://deb.debian.org/debian stretch Release' does not have a Release file.
W: The repository 'http://deb.debian.org/debian stretch-updates Release' does not have a Release file.
E: Failed to fetch http://security.debian.org/debian-security/dists/stretch/updates/main/binary-amd64/Packages  404  Not Found
E: Failed to fetch http://deb.debian.org/debian/dists/stretch/main/binary-amd64/Packages  404  Not Found
E: Failed to fetch http://deb.debian.org/debian/dists/stretch-updates/main/binary-amd64/Packages  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
The command '/bin/sh -c apt-get update -y     && apt-get install -y libreoffice     && apt-get clean' returned a non-zero code: 100
ERROR

with the previous docker file getting the above error as the package repositories for Debian Stretch are no longer available. Debian Stretch reached its end of life in July 2020, and its repositories have been moved to archive servers.

rosera commented 1 year ago

Update does not addres the issue, the Dockerfile is using an outdate version. Update the version used.