Skip to content

Commit

Permalink
wget
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryosuke Tomita committed Dec 17, 2023
1 parent ae60ad7 commit 3cf2232
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions copilot/pipelines/react-app-pipeline/buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@ phases:
- chmod +x ./copilot-linux
# Download trivy. https://aquasecurity.github.io/trivy/v0.48/getting-started/installation/
- echo "install trivy"
- echo -e '[trivy]\nname=Trivy repository\nbaseurl=https://github.com/aquasecurity/trivy/releases/download/v0.48.0/trivy_0.48.0_Linux-64bit.rpm\ngpgcheck=1\nenabled=1\ngpgkey=https://github.com/aquasecurity/trivy/releases/download/v0.48.0/trivy_0.48.0_Linux-64bit.rpm.pem' | tee -a /etc/yum.repos.d/trivy.repo
- cat /etc/yum.repos.d/trivy.repo
- yum -y update
- yum -y install trivy
- wget -q https://github.com/aquasecurity/trivy/releases/download/v0.48.0/trivy_0.48.0_Linux-64bit.rpm -O trivy.rpm
- yum -y install ./trivy.rpm
- chmod +x trivy

build:
Expand Down

0 comments on commit 3cf2232

Please sign in to comment.