diff --git a/Dockerfile b/Dockerfile index 5d7cb39..328dde5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,7 @@ -FROM alpine:latest +FROM ubuntu:18.04 -RUN apk update && apk add curl +RUN apt-get update +RUN apt-get install -y wget COPY entrypoint.sh /entrypoint.sh diff --git a/entrypoint.sh b/entrypoint.sh index 96ca23f..5eeebf8 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,11 +1,5 @@ #!/bin/sh -l -curl "https://github.com/Checkmarx/kics/releases/latest/download/kics_1.0.0_linux_x64.tar.gz" -o kics.tar.gz - -ls -la - -tar -zxvf kics.tar.gz - -chmod +x kics +wget -c https://github.com/Checkmarx/kics/releases/latest/download/kics_1.0.0_linux_x64.tar.gz -O - | tar -xz ./kics -p $INPUT_DIRECTORY \ No newline at end of file