Skip to content
This repository was archived by the owner on Jan 16, 2024. It is now read-only.

Commit b41f0ec

Browse files
committed
EN-566: Import Dockerfile and docker-compose (patch)
1 parent 78dc7b2 commit b41f0ec

File tree

4 files changed

+22
-4
lines changed

4 files changed

+22
-4
lines changed

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule ".submodules/terragoat"]
2+
path = .submodules/terragoat
3+
url = git@github.com:bridgecrewio/terragoat.git

.submodules/terragoat

Submodule terragoat added at d311606

Dockerfile

+16-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,16 @@
1-
FROM nginx:latest
1+
FROM quantumsec/ci-analysis-collector:latest
2+
3+
ENV PYTHONUNBUFFERED=1
4+
5+
RUN apk add --update --no-cache git util-linux python3 && \
6+
ln -sf python3 /usr/bin/python && \
7+
ln -sf pip3 /usr/bin/pip && \
8+
python -m ensurepip && \
9+
pip install --no-cache-dir --upgrade pip setuptools && \
10+
pip install --no-cache-dir -U checkov
11+
12+
# COPY ./bin/run.py /etc/quantum-sec/run.py
13+
14+
# RUN chmod +x /etc/quantum-sec/run.py
15+
16+
# ENTRYPOINT /etc/quantum-sec/run.py

docker-compose.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@ services:
44
pipeline-checkov:
55
build:
66
context: ./
7-
ports:
8-
# HTTP
9-
- "80:80"
7+
volumes:
8+
- ".submodules/terragoat:/workspace/"

0 commit comments

Comments
 (0)