Updated makefile
This commit is contained in:
parent
44c49b10e2
commit
0f2412893e
2
Makefile
2
Makefile
@ -5,6 +5,6 @@ build:
|
||||
./src/build.sh
|
||||
@echo "Size of the image: ${DOCKER_IMAGE_SIZE}"
|
||||
|
||||
$(shell docker push ${DOCKER_IMAGE_NAME})
|
||||
docker push ${DOCKER_IMAGE_NAME}
|
||||
|
||||
.PHONY: build
|
||||
|
12
src/build.sh
12
src/build.sh
@ -56,9 +56,11 @@ docker build --build-arg BASE_IMAGE="${DOCKER_USERNAME}/${DOCKER_IMAGE_NAME}:${A
|
||||
ARG BASE_IMAGE
|
||||
FROM $BASE_IMAGE
|
||||
ARG MS_TOKEN
|
||||
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
|
||||
|
||||
# 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
|
Loading…
Reference in New Issue
Block a user