Skip to content
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

RUN apk add issue #1679

Open
ghaas0ab opened this issue May 19, 2023 · 0 comments
Open

RUN apk add issue #1679

ghaas0ab opened this issue May 19, 2023 · 0 comments

Comments

@ghaas0ab
Copy link

Hi,

I am facing this issue while docker-compose up -d

`=> ERROR [notary-server 2/7] RUN apk add --update git gcc libc-dev 15.8s

[notary-server 2/7] RUN apk add --update git gcc libc-dev:
#0 0.632 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz
#0 5.638 ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.16/main: temporary error (try again later)
#0 5.638 WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.16/main: No such file or directory
#0 5.638 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz
#0 10.64 ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.16/community: temporary error (try again later)
#0 10.64 WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.16/community: No such file or directory
#0 10.64 ERROR: unable to select packages:
#0 10.64 gcc (no such package):
#0 10.64 required by: world[gcc]
#0 10.64 git (no such package):
#0 10.64 required by: world[git]
#0 10.64 libc-dev (no such package):
#0 10.64 required by: world[libc-dev]


failed to solve: process "/bin/sh -c apk add --update git gcc libc-dev" did not complete successfully: exit code: 3
`

I am trying to echo this command but still doesn't work with me.
RUN echo -e "http://nl.alpinelinux.org/alpine/v3.16/main\nhttp://nl.alpinelinux.org/alpine/v3.16/community" > /etc/apk/repositories

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant