Skip to content

Commit 60c77b9

Browse files
Use new docker compose syntax
1 parent 82455c0 commit 60c77b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ test-prometheus-exporter-file-e2e: ./tmp/build-prometheus-exporter-file.tags
103103
xargs -I % ./test-prometheus-exporter-file-e2e.sh % < ./tmp/build-prometheus-exporter-file.tags
104104

105105
scan-vulnerability:
106-
docker-compose -f test/security/docker-compose.yml -p clair-ci up -d
106+
docker compose -f test/security/docker-compose.yml -p clair-ci up -d
107107
RETRIES=0 && while ! wget -T 10 -q -O /dev/null http://localhost:6060/v1/namespaces ; do sleep 1 ; echo -n "." ; if [ $${RETRIES} -eq 10 ] ; then echo " Timeout, aborting." ; exit 1 ; fi ; RETRIES=$$(($${RETRIES}+1)) ; done
108108
mkdir -p ./tmp/clair/usabillabv
109109
cat ./tmp/build-*.tags | xargs -I % sh -c 'clair-scanner --ip 172.17.0.1 -r "./tmp/clair/%.json" -l ./tmp/clair/clair.log % || echo "% is vulnerable"'
110-
docker-compose -f test/security/docker-compose.yml -p clair-ci down
110+
docker compose -f test/security/docker-compose.yml -p clair-ci down

0 commit comments

Comments
 (0)