Skip to content

Commit

Permalink
fix: trivy install
Browse files Browse the repository at this point in the history
  • Loading branch information
Silvija Tovernic committed Sep 19, 2024
1 parent 8b7d7ad commit 6289304
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion images/packer/image-factory-vm/scripts/setup-vm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ curl -sL https://aka.ms/InstallAzureCLIDeb | bash

# Set up Trivy repository and install Trivy
wget -qO - https://aquasecurity.github.io/trivy-repo/deb/public.key | apt-key add -
echo "deb https://aquasecurity.github.io/trivy-repo/deb \$(lsb_release -sc) main" | tee -a /etc/apt/sources.list.d/trivy.list
echo deb https://aquasecurity.github.io/trivy-repo/deb $(lsb_release -sc) main | tee -a /etc/apt/sources.list.d/trivy.list
apt-get update
apt-get install -y trivy

0 comments on commit 6289304

Please sign in to comment.