switch to ubunto
This commit is contained in:
@ -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
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
|
||||||
|
@ -1,11 +1,5 @@
|
|||||||
#!/bin/sh -l
|
#!/bin/sh -l
|
||||||
|
|
||||||
curl "https://github.com/Checkmarx/kics/releases/latest/download/kics_1.0.0_linux_x64.tar.gz" -o kics.tar.gz
|
wget -c https://github.com/Checkmarx/kics/releases/latest/download/kics_1.0.0_linux_x64.tar.gz -O - | tar -xz
|
||||||
|
|
||||||
ls -la
|
|
||||||
|
|
||||||
tar -zxvf kics.tar.gz
|
|
||||||
|
|
||||||
chmod +x kics
|
|
||||||
|
|
||||||
./kics -p $INPUT_DIRECTORY
|
./kics -p $INPUT_DIRECTORY
|
Reference in New Issue
Block a user