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

Update "gpg" invocations to use "--batch" #527

Merged
merged 1 commit into from
Nov 14, 2018

Conversation

tianon
Copy link
Member

@tianon tianon commented Nov 14, 2018

@yosifkit
Copy link
Member

😢 deb build version fails since pgdg-keyring calls gpg --import apt.postgresql.org.asc during build. We could place a hacky script to use during the deb build process. Something like the following until upstream is able to fix in the next release:

# put this in the "*" half of the case arch and then delete the file at the end
		{ \ 
			echo '#!/bin/bash'; \
			echo 'set -x'; \
			echo 'exec /usr/bin/gpg --batch "$@"'; \
		} > /usr/local/bin/gpg; \
		chmod +x /usr/local/bin/gpg; \

@tianon
Copy link
Member Author

tianon commented Nov 14, 2018

Made a proper PR at df7cb/pgdg-keyring#2. 👍

@tianon
Copy link
Member Author

tianon commented Nov 14, 2018

This will also only affect a few architectures, so we could just ignore the failure for now and bury our heads in the sand. 😄

@yosifkit yosifkit merged commit 73f9262 into docker-library:master Nov 14, 2018
@yosifkit yosifkit deleted the gpg-batch branch November 14, 2018 22:17
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