switch to ubunto

This commit is contained in:
Eli Trop
2020-12-30 11:23:25 +02:00
parent 237f364520
commit f261984b68
2 changed files with 4 additions and 9 deletions

View File

@ -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

View File

@ -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