Skip to content

Commit

Permalink
docs: use generic link from trivy-repo (#6606)
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyLewen committed May 2, 2024
1 parent a2a02de commit 6a2225b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ In this section you will find an aggregation of the different ways to install Tr
Add repository setting to `/etc/apt/sources.list.d`.

``` bash
sudo apt-get install wget apt-transport-https gnupg lsb-release
sudo apt-get install wget apt-transport-https gnupg
wget -qO - https://aquasecurity.github.io/trivy-repo/deb/public.key | gpg --dearmor | sudo tee /usr/share/keyrings/trivy.gpg > /dev/null
echo "deb [signed-by=/usr/share/keyrings/trivy.gpg] https://aquasecurity.github.io/trivy-repo/deb $(lsb_release -sc) main" | sudo tee -a /etc/apt/sources.list.d/trivy.list
echo "deb [signed-by=/usr/share/keyrings/trivy.gpg] https://aquasecurity.github.io/trivy-repo/deb generic main" | sudo tee -a /etc/apt/sources.list.d/trivy.list
sudo apt-get update
sudo apt-get install trivy
```
Expand Down

0 comments on commit 6a2225b

Please sign in to comment.