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

Error in Dockerfile.arch: Unable to pull archlinux/latest image #2004

Open
tjsweetblack opened this issue Oct 31, 2024 · 0 comments
Open

Error in Dockerfile.arch: Unable to pull archlinux/latest image #2004

tjsweetblack opened this issue Oct 31, 2024 · 0 comments

Comments

@tjsweetblack
Copy link

When building the Docker image using Dockerfile.arch, an error occurs due to an incorrect base image specification. The Dockerfile currently uses archlinux/latest, which is not available on Docker Hub, resulting in the following error:

ERROR: failed to solve: archlinux/latest: failed to resolve source metadata for docker.io/archlinux/latest:latest: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed
Steps to Reproduce

Run the following command:

sudo docker build -t profanity -f Dockerfile.arch .

Observe the error about failing to pull archlinux/latest.

Expected Behavior

The build should succeed using a valid base image.
Suggested Fix

Update the base image in Dockerfile.arch to archlinux (without /latest). This ensures compatibility with the official Arch Linux Docker image on Docker Hub and resolves the build error.

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