Skip to content
Snippets Groups Projects
Commit 45d275d8 authored by Jeremy M Fee's avatar Jeremy M Fee
Browse files

Merge branch 'update-trivy-3' into 'master'

Update base image (to one supported by trivy), update trivy command

See merge request !26
parents 452e2940 6917a76d
No related branches found
No related tags found
2 merge requests!146Release CMO metadata to production,!26Update base image (to one supported by trivy), update trivy command
Pipeline #21564 passed
......@@ -171,7 +171,7 @@ Scan Docker Image:
- wget https://github.com/aquasecurity/trivy/releases/download/v${TRIVY_VERSION}/trivy_${TRIVY_VERSION}_Linux-64bit.tar.gz
- tar zxvf trivy_${TRIVY_VERSION}_Linux-64bit.tar.gz
# run trivy
- ./trivy --exit-code 0 --no-progress ${INTERNAL_IMAGE}
- ./trivy image --exit-code 0 --no-progress ${INTERNAL_IMAGE}
services:
- docker:19.03-dind
stage: scan
......
ARG FROM_IMAGE=usgs/centos:latest
ARG FROM_IMAGE=usgs/centos:7
FROM ${FROM_IMAGE} as conda
LABEL maintainer="Jeremy Fee <jmfee@usgs.gov>"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment