diff --git a/copilot/pipelines/react-app-pipeline/buildspec.yml b/copilot/pipelines/react-app-pipeline/buildspec.yml index fbbaa87..a986e25 100644 --- a/copilot/pipelines/react-app-pipeline/buildspec.yml +++ b/copilot/pipelines/react-app-pipeline/buildspec.yml @@ -10,8 +10,7 @@ phases: - chmod +x ./copilot-linux # Download trivy. https://aquasecurity.github.io/trivy/v0.48/getting-started/installation/ - echo "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 + - rpm -ivh https://github.com/aquasecurity/trivy/releases/download/v0.48.0/trivy_0.48.0_Linux-64bit.rpm build: commands: