Skip to content

Commit 6660d6a

Browse files
committed
Dockerfile
Signed-off-by: Julio Jimenez <julio@clickhouse.com>
1 parent e59d832 commit 6660d6a

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

Dockerfile

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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"]

0 commit comments

Comments
 (0)