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

Use multiple keyserver sources #131

Closed
wants to merge 1 commit into from
Closed

Use multiple keyserver sources #131

wants to merge 1 commit into from

Conversation

michaelsteven
Copy link

I had trouble building the images this morning because I was unable to connect to the keyserver. From researching the issue i found the keyserver used has a history of availability issues. This PR allows the dockerfile to try multiple keyservers. It is inspired by this PR in another repository that is trying to accomplish the same thing.

@yosifkit
Copy link
Member

See also, docker-library/mysql#263 (comment) and docker-library/httpd#66 (comment)

We've gone back and forth on adding a similar loop but don't want to yet open the flood gates to repeat this loop in all of the images maintained in http://github.com/docker-library. We recommend just pulling the images from Docker Hub rather than building them yourself, but if you must build it, then editing the file to choose a gpg server that is better for your location is the solution (a quick sed or awk before docker build).

@michaelsteven
Copy link
Author

Ok no problem. Closing.

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

Successfully merging this pull request may close these issues.

2 participants