Skip to content

Use multiple keyserver sources#131

Closed
michaelsteven wants to merge 1 commit intodocker-library:masterfrom
michaelsteven:master
Closed

Use multiple keyserver sources#131
michaelsteven wants to merge 1 commit intodocker-library:masterfrom
michaelsteven:master

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

Comments