Skip to content

Commit

Permalink
docs: remove RELEASE_VERSION from trivy.repo (#6546)
Browse files Browse the repository at this point in the history
  • Loading branch information
Blarc committed Apr 24, 2024
1 parent d2d4022 commit fae710d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,10 @@ In this section you will find an aggregation of the different ways to install Tr
Add repository setting to `/etc/yum.repos.d`.

``` bash
RELEASE_VERSION=$(grep -Po '(?<=VERSION_ID=")[0-9]' /etc/os-release)
cat << EOF | sudo tee -a /etc/yum.repos.d/trivy.repo
[trivy]
name=Trivy repository
baseurl=https://aquasecurity.github.io/trivy-repo/rpm/releases/$RELEASE_VERSION/\$basearch/
baseurl=https://aquasecurity.github.io/trivy-repo/rpm/releases/\$basearch/
gpgcheck=1
enabled=1
gpgkey=https://aquasecurity.github.io/trivy-repo/rpm/public.key
Expand Down

0 comments on commit fae710d

Please sign in to comment.