-
Notifications
You must be signed in to change notification settings - Fork 10
/
Makefile
24 lines (20 loc) · 839 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
ifndef TEST_IMAGE
export TEST_IMAGE=ghcr.io/aquasecurity/trivy-test-images
endif
build-busybox:
docker build -t $(TEST_IMAGE):busybox-with-lockfile busybox-with-lockfile
docker push $(TEST_IMAGE):busybox-with-lockfile
docker rmi -f $(TEST_IMAGE):busybox-with-lockfile
build-containerd:
docker build -t $(TEST_IMAGE)/containerd:latest containerd
docker push $(TEST_IMAGE)/containerd:latest
docker rmi -f $(TEST_IMAGE)/containerd:latest
build-spring4shell:
docker build --target jre11 -t $(TEST_IMAGE):spring4shell-jre11 spring4shell
docker push $(TEST_IMAGE):spring4shell-jre11
docker rmi -f $(TEST_IMAGE):spring4shell-jre11
docker build --target jre8 -t $(TEST_IMAGE):spring4shell-jre8 spring4shell
docker push $(TEST_IMAGE):spring4shell-jre8
docker rmi -f $(TEST_IMAGE):spring4shell-jre8
copy-images:
./copy-images.sh