Skip to content

Commit

Permalink
Merge pull request #19232 from dvdksn/engine-install-chmod-gpg
Browse files Browse the repository at this point in the history
engine: add chmod a+r for gpg key
  • Loading branch information
dvdksn authored Jan 26, 2024
2 parents aecbb08 + 6dc6f50 commit 43ccf2a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion content/engine/install/debian.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,10 @@ Docker from the repository.
```bash
# Add Docker's official GPG key:
sudo apt-get update
sudo apt-get install ca-certificates curl gnupg
sudo apt-get install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL {{% param "download-url-base" %}}/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc

# Add the repository to Apt sources:
echo \
Expand Down
3 changes: 2 additions & 1 deletion content/engine/install/raspberry-pi-os.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,10 @@ Docker from the repository.
```bash
# Add Docker's official GPG key:
sudo apt-get update
sudo apt-get install ca-certificates curl gnupg
sudo apt-get install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL {{% param "download-url-base" %}}/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc

# Set up Docker's APT repository:
echo \
Expand Down
3 changes: 2 additions & 1 deletion content/engine/install/ubuntu.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,10 @@ Docker from the repository.
```bash
# Add Docker's official GPG key:
sudo apt-get update
sudo apt-get install ca-certificates curl gnupg
sudo apt-get install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL {{% param "download-url-base" %}}/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc

# Add the repository to Apt sources:
echo \
Expand Down

0 comments on commit 43ccf2a

Please sign in to comment.