Skip to content

Commit

Permalink
docs: update installation.md (#2027)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomthetommy committed Apr 26, 2022
1 parent bdf55e1 commit 84c1994
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@
Add repository setting to `/etc/yum.repos.d`.

``` bash
$ sudo vim /etc/yum.repos.d/trivy.repo
cat << EOF | sudo tee -a /etc/yum.repos.d/trivy.repo
[trivy]
name=Trivy repository
baseurl=https://aquasecurity.github.io/trivy-repo/rpm/releases/$releasever/$basearch/
gpgcheck=0
enabled=1
$ sudo yum -y update
$ sudo yum -y install trivy
EOF
sudo yum -y update
sudo yum -y install trivy
```

=== "RPM"
Expand Down

0 comments on commit 84c1994

Please sign in to comment.