Slav Osadtsia 4 weeks ago committed by GitHub
commit 35e79b578b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -24,13 +24,16 @@ RUN apk --no-cache upgrade apk-tools
# Ensuring that we update/upgrade before installing openssl, to mitigate CVE-2021-3711 and CVE-2021-3712
RUN apk update && apk upgrade && apk --no-cache add openssl
# Add glibc for running oc command
# Add glibc for running oc command
RUN wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub
RUN apk add gcompat
RUN apk add jq
ENV PATH=$PATH:/usr/local/mount-from-host/bin
RUN adduser -S -s /bin/sh -G root -u 1001 kube-bench
USER kube-bench
COPY --from=build /go/bin/kube-bench /usr/local/bin/kube-bench
COPY entrypoint.sh .
COPY cfg/ cfg/

Loading…
Cancel
Save