Updated and remove microscanner after scan completed

This commit is contained in:
Sambo Chea 2021-03-26 11:05:37 +07:00
parent 4cc9404a0b
commit eee5771a6f
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,4 @@
DOCKER_IMAGE_NAME = cubetiq/calpine-os-linux:3.13
DOCKER_IMAGE_NAME = cubetiq/calpine-os-linux
DOCKER_IMAGE_SIZE = $(shell docker images --format "{{.Repository}} {{.Size}}" | grep $(DOCKER_IMAGE_NAME) | cut -d\ -f2)
build:

View File

@ -60,4 +60,5 @@ RUN wget https://get.aquasec.com/microscanner -O /home/cubetiq/microscanner \
&& echo "8e01415d364a4173c9917832c2e64485d93ac712a18611ed5099b75b6f44e3a5 /home/cubetiq/microscanner" | sha256sum -c - \
&& chmod +x /home/cubetiq/microscanner \
&& /home/cubetiq/microscanner $MS_TOKEN
&& rm -r /home/cubetiq/microscanner
DOCKERFILE