Build fails on apt-get update -y. on ARM M5 MBP
` => ERROR [3/9] RUN apt-get update -y 1.7s
[3/9] RUN apt-get update -y:
0.271 Ign:1 http://deb.debian.org/debian stretch InRelease
0.271 Ign:2 http://security.debian.org/debian-security stretch/updates InRelease
0.295 Ign:3 http://deb.debian.org/debian stretch-updates InRelease
0.299 Ign:4 http://security.debian.org/debian-security stretch/updates Release
0.322 Ign:5 http://deb.debian.org/debian stretch Release
0.322 Ign:6 http://security.debian.org/debian-security stretch/updates/main arm64 Packages
0.348 Ign:7 http://deb.debian.org/debian stretch-updates Release
0.348 Ign:8 http://security.debian.org/debian-security stretch/updates/main all Packages
0.376 Ign:6 http://security.debian.org/debian-security stretch/updates/main arm64 Packages
0.386 Ign:9 http://deb.debian.org/debian stretch/main arm64 Packages
0.399 Ign:8 http://security.debian.org/debian-security stretch/updates/main all Packages
0.409 Ign:10 http://deb.debian.org/debian stretch/main all Packages
0.430 Ign:6 http://security.debian.org/debian-security stretch/updates/main arm64 Packages
0.445 Ign:11 http://deb.debian.org/debian stretch-updates/main arm64 Packages
0.497 Ign:12 http://deb.debian.org/debian stretch-updates/main all Packages
0.497 Ign:8 http://security.debian.org/debian-security stretch/updates/main all Packages
0.545 Ign:6 http://security.debian.org/debian-security stretch/updates/main arm64 Packages
0.565 Ign:9 http://deb.debian.org/debian stretch/main arm64 Packages
0.592 Ign:10 http://deb.debian.org/debian stretch/main all Packages
0.592 Ign:8 http://security.debian.org/debian-security stretch/updates/main all Packages
0.620 Ign:6 http://security.debian.org/debian-security stretch/updates/main arm64 Packages
0.628 Ign:11 http://deb.debian.org/debian stretch-updates/main arm64 Packages
0.643 Ign:8 http://security.debian.org/debian-security stretch/updates/main all Packages
0.653 Ign:12 http://deb.debian.org/debian stretch-updates/main all Packages
0.668 Err:6 http://security.debian.org/debian-security stretch/updates/main arm64 Packages
0.668 404 Not Found [IP: 151.101.66.132 80]
0.694 Ign:8 http://security.debian.org/debian-security stretch/updates/main all Packages
0.775 Ign:9 http://deb.debian.org/debian stretch/main arm64 Packages
0.799 Ign:10 http://deb.debian.org/debian stretch/main all Packages
0.869 Ign:11 http://deb.debian.org/debian stretch-updates/main arm64 Packages
0.895 Ign:12 http://deb.debian.org/debian stretch-updates/main all Packages
0.930 Ign:9 http://deb.debian.org/debian stretch/main arm64 Packages
0.953 Ign:10 http://deb.debian.org/debian stretch/main all Packages
0.990 Ign:11 http://deb.debian.org/debian stretch-updates/main arm64 Packages
1.014 Ign:12 http://deb.debian.org/debian stretch-updates/main all Packages
1.051 Ign:9 http://deb.debian.org/debian stretch/main arm64 Packages
1.076 Ign:10 http://deb.debian.org/debian stretch/main all Packages
1.112 Ign:11 http://deb.debian.org/debian stretch-updates/main arm64 Packages
1.142 Ign:12 http://deb.debian.org/debian stretch-updates/main all Packages
1.179 Err:9 http://deb.debian.org/debian stretch/main arm64 Packages
1.179 404 Not Found
1.228 Ign:10 http://deb.debian.org/debian stretch/main all Packages
1.263 Err:11 http://deb.debian.org/debian stretch-updates/main arm64 Packages
1.263 404 Not Found
1.286 Ign:12 http://deb.debian.org/debian stretch-updates/main all Packages
1.293 Reading package lists...
1.300 W: The repository 'http://security.debian.org/debian-security stretch/updates Release' does not have a Release file.
1.300 W: The repository 'http://deb.debian.org/debian stretch Release' does not have a Release file.
1.300 W: The repository 'http://deb.debian.org/debian stretch-updates Release' does not have a Release file.
1.300 E: Failed to fetch http://security.debian.org/debian-security/dists/stretch/updates/main/binary-arm64/Packages 404 Not Found [IP: 151.101.66.132 80]
1.300 E: Failed to fetch http://deb.debian.org/debian/dists/stretch/main/binary-arm64/Packages 404 Not Found
1.300 E: Failed to fetch http://deb.debian.org/debian/dists/stretch-updates/main/binary-arm64/Packages 404 Not Found
1.300 E: Some index files failed to download. They have been ignored, or old ones used instead.
Dockerfile:8
6 |
7 | # Update repo
8 | >>> RUN apt-get update -y
9 |
10 | # Install mysql-client
failed to solve: process "/bin/sh -c apt-get update -y" did not complete successfully: exit code: 100`
Build fails on apt-get update -y. on ARM M5 MBP
` => ERROR [3/9] RUN apt-get update -y 1.7s
Dockerfile:8
6 |
7 | # Update repo
8 | >>> RUN apt-get update -y
9 |
10 | # Install mysql-client
failed to solve: process "/bin/sh -c apt-get update -y" did not complete successfully: exit code: 100`