Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apt install -y
Browse files Browse the repository at this point in the history
Ryosuke Tomita committed Dec 17, 2023
1 parent b06b1e3 commit c3c9f28
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions copilot/pipelines/react-app-pipeline/buildspec.yml
Original file line number Diff line number Diff line change
@@ -10,11 +10,11 @@ phases:
- chmod +x ./copilot-linux
# Download trivy. https://aquasecurity.github.io/trivy/v0.48/getting-started/installation/
- apt-get update
- apt-get install wget apt-transport-https gnupg lsb-release
- 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
- apt-get install -y wget apt-transport-https gnupg lsb-release
- wget -qO - https://aquasecurity.github.io/trivy-repo/deb/public.key | gpg --dearmor | 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" | tee -a /etc/apt/sources.list.d/trivy.list
- apt-get update
- apt-get install trivy
- apt-get install -y trivy
- chmod +x trivy

build:

0 comments on commit c3c9f28

Please sign in to comment.