-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Dockerfile
51 lines (45 loc) · 1.32 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
FROM ubuntu:24.04
ENV TZ=UTC
RUN apt-get update && \
apt-get install -y \
curl \
wget \
software-properties-common \
gnupg2 \
pandoc \
inkscape \
exiftool \
python3 \
python3-pip \
unzip \
tzdata \
git && \
python3 -m pip install pandocfilters docxcompose pdf-cli requests Flask --break-system-packages && \
curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \
apt-get install -y nodejs=18.18.0-1nodesource1 && \
npm install -g [email protected] && \
npm install -g [email protected] && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
ln -s /usr/bin/python3 /usr/bin/python && \
mkdir -p /workspace /workspace/docs
# Set the timezone to UTC
RUN ln -sf /usr/share/zoneinfo/$TZ /etc/localtime && \
echo $TZ > /etc/timezone
WORKDIR /workspace
COPY docs/ /workspace/docs/
COPY Attestations/ /workspace/Attestations/
COPY CBOM/ /workspace/CBOM/
COPY HBOM/ /workspace/HBOM/
COPY MBOM/ /workspace/MBOM/
COPY ML-BOM/ /workspace/ML-BOM/
COPY OBOM/ /workspace/OBOM/
COPY SaaSBOM/ /workspace/SaaSBOM/
COPY SBOM/ /workspace/SBOM/
COPY VDR_VEX/ /workspace/VDR_VEX/
COPY images/ /workspace/images/
COPY templates/ /workspace/templates/
COPY build/gen.sh /workspace/gen.sh
RUN chmod +x /workspace/gen.sh
RUN cd /workspace
ENTRYPOINT ["/workspace/gen.sh"]