Removed microscanner

This commit is contained in:
Sambo Chea 2021-03-26 11:17:26 +07:00
parent b7b26c3259
commit 34a2a0493c

View File

@ -55,10 +55,10 @@ cd -
docker build --build-arg BASE_IMAGE="${DOCKER_USERNAME}/${DOCKER_IMAGE_NAME}:${ALPINE_VERSION}" --build-arg MS_TOKEN="${MS_TOKEN}" - <<'DOCKERFILE'
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
# 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
DOCKERFILE