-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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 "/etc/apt/trusted.gpg.d" instead of "apt-key adv" #254
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it need the apt-key list command at the end, or will that just produce a lot of extra output?
Yeah, |
(Or pipe it's output to |
Yeah, might be useful to keep it as a test. I didn't check in a fresh Docker container, but on my regular box the command produces a lot of output, so maybe hide the standard output |
It's not too bad:
|
(but I'll go update to pipe that to |
> Note: Instead of using this command a keyring should be placed > directly in the /etc/apt/trusted.gpg.d/ directory with a > descriptive name and either "gpg" or "asc" as file extension. https://manpages.debian.org/cgi-bin/man.cgi?query=apt-key&manpath=Debian+testing+stretch
I double checked that an invalid key file in |
- `busybox`: 1.26.2 - `docker`: 1.13.0-rc6 - `elasticsearch`: 5.1.2, 2.4.4 - `ghost`: 0.11.4 - `haproxy`: 1.7.2 - `hello-seattle`: Hub->Cloud, Account->ID (docker-library/hello-world#25) - `hello-world`: Hub->Cloud, Account->ID (docker-library/hello-world#25) - `hola-mundo`: Hub->Cloud, Account->ID (docker-library/hello-world#25) - `httpd`: 2.2.32 - `kibana`: 5.1.2, 4.6.4 - `logstash`: 5.1.2 - `mariadb`: 10.0.29+maria-1~jessie - `mysql`: use `/etc/apt/trusted.gpg.d` instead of `apt-key adv` (docker-library/mysql#254) - `rocket.chat`: 0.49.0
https://manpages.debian.org/cgi-bin/man.cgi?query=apt-key&manpath=Debian+testing+stretch
See also docker-library/cassandra#91, MariaDB/mariadb-docker#93, and docker-library/mongo#132.
cc @ltangvald