This commit is contained in:
Andreas Neue 2019-08-02 12:00:18 +02:00
parent eecdf093cd
commit 04c6fb5169
1 changed files with 4 additions and 5 deletions

View File

@ -37,11 +37,10 @@ steps:
tags: latest tags: latest
- name: clair - name: clair
image: ubuntu:18.04 image: phusion/baseimage:latest
commands: commands:
- apt update -y - apt update -y
- apt -y install curl - apt -y install curl
- pwd - curl -Lo /usr/local/bin/klar https://github.com/optiopay/klar/releases/download/v2.4.0/klar-2.4.0-linux-amd64
- curl -L -o 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 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