-
Notifications
You must be signed in to change notification settings - Fork 828
fix debian release file issue #347
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
cunneen
wants to merge
3
commits into
idank:master
Choose a base branch
from
cunneen:feat_fix_debian_release_file_issue
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Adds debian stretch archive to apt sources.list . The Dockerfile refers to the python:2.7 image, which in turn depends on the debian:buster-20200414 image, which is no longer supported. This caused errors upon `docker-compose build` : ``` E: The repository 'http://deb.debian.org/debian buster Release' does not have a Release file. E: The repository 'http://security.debian.org/debian-security buster/updates Release' does not have a Release file. E: The repository 'http://deb.debian.org/debian buster-updates Release' does not have a Release file. ------ ``` Full transcript: ``` ➜ explainshell git:(master) ✗ docker-compose build 24.5.0 WARN[0000] /explainshell/docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion [+] Building 132.5s (7/11) => [internal] load local bake definitions 0.0s => => reading from stdin 537B 0.0s => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 379B 0.0s => [internal] load metadata for docker.io/library/python:2.7 3.7s => [internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [1/6] FROM docker.io/library/python:2.7@sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d 125.9s => => resolve docker.io/library/python:2.7@sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d 0.0s => => sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d 2.14kB / 2.14kB 0.0s => => sha256:de52085267e18aba7083768f283765fcd04f753aba32cc85e62a39c77670cf4b 2.22kB / 2.22kB 0.0s => => sha256:c7f4559769f8892b260cf86e99ed89b11abf2619c66e7cdc9d83c9c971ef62fd 8.96kB / 8.96kB 0.0s => => sha256:d080dad46627d4103daddf54c89f2ef0a0b72ba8270066c50e95ffbf4a79362e 49.17MB / 49.17MB 47.1s => => sha256:0d8c76f347939ef96b2815e45f9fa43995940a8d4a01525012b2bce1adcbfc3a 7.68MB / 7.68MB 9.0s => => sha256:454b6b37aa5fec6dcadc18e45dc6d58e4cf4b967540152c4f44030737e2f5351 9.98MB / 9.98MB 9.6s => => sha256:0caa3b2294305ed3cf1d91d1fe2e2dbf3e294a694a4f636dea6bf733975e237a 52.16MB / 52.16MB 55.6s => => sha256:3b47ba45af89a4c13c0c56e12431cbedfa1e0836733d37eb58461934ebca5619 183.71MB / 183.71MB 119.5s => => extracting sha256:d080dad46627d4103daddf54c89f2ef0a0b72ba8270066c50e95ffbf4a79362e 1.5s => => sha256:7265f9167afe68b7ec760a436cba685022ddddf6d09978e92d73fa39ad7fa13e 5.91MB / 5.91MB 55.0s => => extracting sha256:0d8c76f347939ef96b2815e45f9fa43995940a8d4a01525012b2bce1adcbfc3a 0.2s => => extracting sha256:454b6b37aa5fec6dcadc18e45dc6d58e4cf4b967540152c4f44030737e2f5351 0.1s => => sha256:2bfc998b0cd02511fa6e90b283528652ebd6256a58d309a0f2a021bd737953e0 17.99MB / 17.99MB 70.2s => => extracting sha256:0caa3b2294305ed3cf1d91d1fe2e2dbf3e294a694a4f636dea6bf733975e237a 1.4s => => sha256:089c17f1d7bf843f324823e5517baf6f00f8d4c5db8e442a17880d62b3a8120a 1.89MB / 1.89MB 58.6s => => sha256:1ce677d6f0522924f772aa7be36efd6365f59ef061c92a1512d91122f473d3fa 7.68MB / 7.68MB 67.5s => => extracting sha256:3b47ba45af89a4c13c0c56e12431cbedfa1e0836733d37eb58461934ebca5619 5.0s => => extracting sha256:7265f9167afe68b7ec760a436cba685022ddddf6d09978e92d73fa39ad7fa13e 0.2s => => extracting sha256:2bfc998b0cd02511fa6e90b283528652ebd6256a58d309a0f2a021bd737953e0 0.5s => => extracting sha256:089c17f1d7bf843f324823e5517baf6f00f8d4c5db8e442a17880d62b3a8120a 0.1s => => extracting sha256:1ce677d6f0522924f772aa7be36efd6365f59ef061c92a1512d91122f473d3fa 0.3s => [internal] load build context 0.7s => => transferring context: 77.75MB 0.7s => ERROR [2/6] RUN apt-get update && apt-get install man-db -y && apt-get clean 2.7s ------ > [2/6] RUN apt-get update && apt-get install man-db -y && apt-get clean: 0.760 Ign:1 http://deb.debian.org/debian buster InRelease 1.090 Ign:2 http://security.debian.org/debian-security buster/updates InRelease 1.112 Ign:3 http://deb.debian.org/debian buster-updates InRelease 1.449 Err:4 http://deb.debian.org/debian buster Release 1.449 404 Not Found [IP: 151.101.194.132 80] 1.770 Err:5 http://security.debian.org/debian-security buster/updates Release 1.770 404 Not Found [IP: 151.101.194.132 80] 1.808 Err:6 http://deb.debian.org/debian buster-updates Release 1.808 404 Not Found [IP: 151.101.194.132 80] 1.814 Reading package lists... 1.823 E: The repository 'http://deb.debian.org/debian buster Release' does not have a Release file. 1.823 E: The repository 'http://security.debian.org/debian-security buster/updates Release' does not have a Release file. 1.823 E: The repository 'http://deb.debian.org/debian buster-updates Release' does not have a Release file. ------ Dockerfile:3 -------------------- 2 | 3 | >>> RUN apt-get update \ 4 | >>> && apt-get install man-db -y \ 5 | >>> && apt-get clean 6 | -------------------- failed to solve: process "/bin/sh -c apt-get update && apt-get install man-db -y && apt-get clean" did not complete successfully: exit code: 100 ```
This reverts commit 1102b7d.
Owner
|
Thanks. Can you remove the commits that are from your other PR? |
Contributor
Author
|
Hi @idank,
Yep I already reverted it, so only |
Owner
|
They're still in the PR though. Can you rebase this branch to master so we don't have to commit them? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds debian stretch archive to apt sources.list .
The Dockerfile refers to the python:2.7 image, which in turn depends on
the debian:buster-20200414 image, which is no longer supported. This
caused errors upon
docker-compose build:Full transcript: