install curl

This commit is contained in:
Andreas Neue 2019-08-02 11:31:05 +02:00
parent 976c9f0e66
commit 1667f41ff6
1 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,8 @@ steps:
- name: clair - name: clair
image: ubuntu:18.04 image: ubuntu:18.04
commands: commands:
- apt update -y
- apt -y install curl
- curl -o /usr/local/bin/klar https://github.com/optiopay/klar/releases/download/v2.4.0/klar-2.4.0-linux-amd64 - curl -o /usr/local/bin/klar https://github.com/optiopay/klar/releases/download/v2.4.0/klar-2.4.0-linux-amd64
- chmod -x /usr/local/bin/klar - chmod -x /usr/local/bin/klar
- CLAIR_ADDR=dev01:6060 CLAIR_OUTPUT=High CLAIR_THRESHOLD=10 REGISTRY_INSECURE=true klar dr.dnix.de/flokati:latest - CLAIR_ADDR=dev01:6060 CLAIR_OUTPUT=High CLAIR_THRESHOLD=10 REGISTRY_INSECURE=true klar dr.dnix.de/flokati:latest