engine: add chmod a+r for docker.gpg key

Signed-off-by: David Karlsson <david.karlsson@docker.com>
This commit is contained in:
David Karlsson 2023-04-08 18:34:56 +02:00
parent 7ad91f1356
commit d421693c9f
2 changed files with 2 additions and 0 deletions

View File

@ -97,6 +97,7 @@ Docker from the repository.
```console ```console
$ sudo install -m 0755 -d /etc/apt/keyrings $ sudo install -m 0755 -d /etc/apt/keyrings
$ curl -fsSL {{ download-url-base }}/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg $ curl -fsSL {{ download-url-base }}/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
$ sudo chmod a+r /etc/apt/keyrings/docker.gpg
``` ```
3. Use the following command to set up the repository: 3. Use the following command to set up the repository:

View File

@ -96,6 +96,7 @@ Docker from the repository.
```console ```console
$ sudo install -m 0755 -d /etc/apt/keyrings $ sudo install -m 0755 -d /etc/apt/keyrings
$ curl -fsSL {{ download-url-base }}/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg $ curl -fsSL {{ download-url-base }}/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
$ sudo chmod a+r /etc/apt/keyrings/docker.gpg
``` ```
3. Use the following command to set up the repository: 3. Use the following command to set up the repository: