diff --git a/Makefile b/Makefile index 1620032..6f6506b 100644 --- a/Makefile +++ b/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 diff --git a/src/build.sh b/src/build.sh index a232270..4a4db61 100755 --- a/src/build.sh +++ b/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 \ No newline at end of file