forked from bridgecrewio/checkov
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
13 lines (9 loc) · 701 Bytes
/
Copy pathDockerfile
File metadata and controls
13 lines (9 loc) · 701 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
FROM python:3.7-alpine
RUN apk update && apk add --no-cache git util-linux bash openssl
RUN pip install --no-cache-dir -U checkov
RUN wget -q -O get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3; chmod 700 get_helm.sh; VERIFY_CHECKSUM=true ./get_helm.sh; rm ./get_helm.sh
COPY ./github_action_resources/entrypoint.sh /entrypoint.sh
COPY ./github_action_resources/checkov-problem-matcher.json /usr/local/lib/checkov-problem-matcher.json
COPY ./github_action_resources/checkov-problem-matcher-softfail.json /usr/local/lib/checkov-problem-matcher-softfail.json
# Code file to execute when the docker container starts up (`entrypoint.sh`)
ENTRYPOINT ["/entrypoint.sh"]