Skip to content

Commit e1d7d33

Browse files
LLdanieldvdksn
andauthored
Update content/manuals/engine/install/debian.md
make use of heredoc for better readability Co-authored-by: David Karlsson <[email protected]>
1 parent 2bc7ca9 commit e1d7d33

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

content/manuals/engine/install/debian.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -115,13 +115,13 @@ Docker from the repository.
115115
sudo chmod a+r /etc/apt/keyrings/docker.asc
116116

117117
# Add the repository to Apt sources:
118-
echo -e \
119-
"Types: deb\n\
120-
URIs: https://download.docker.com/linux/debian/\n\
121-
Suites: $(. /etc/os-release && echo "$VERSION_CODENAME")\n\
122-
Components: stable\n\
123-
Signed-By: /etc/apt/keyrings/docker.asc" | \
124-
sudo tee /etc/apt/sources.list.d/docker.sources > /dev/null
118+
sudo tee /etc/apt/sources.list.d/docker.sources <<EOF
119+
Types: deb
120+
URIs: {{% param "download-url-base" %}}
121+
Suites: $(. /etc/os-release && echo "$VERSION_CODENAME")
122+
Components: stable
123+
Signed-By: /etc/apt/keyrings/docker.asc
124+
EOF
125125
126126
sudo apt-get update
127127
```

0 commit comments

Comments
 (0)