File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed
Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM ubuntu:22.04
2+
3+ # Avoid interactive prompts during package installation
4+ ENV DEBIAN_FRONTEND=noninteractive
5+
6+ # Install required packages
7+ RUN apt-get update && apt-get install -y \
8+ curl \
9+ jq \
10+ python3 \
11+ python3-pip \
12+ unzip \
13+ wget \
14+ ca-certificates \
15+ && rm -rf /var/lib/apt/lists/*
16+
17+ # Install AWS CLI
18+ RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" \
19+ && unzip awscliv2.zip \
20+ && ./aws/install \
21+ && rm -rf awscliv2.zip aws/
22+
23+ # Install CycloneDX CLI for SBOM conversion
24+ RUN pip3 install cyclonedx-bom
25+
26+ # Copy the main script
27+ COPY entrypoint.sh /entrypoint.sh
28+ RUN chmod +x /entrypoint.sh
29+
30+ # Set the entrypoint
31+ ENTRYPOINT ["/entrypoint.sh" ]
You can’t perform that action at this time.
0 commit comments