Skip to content

Commit 9143186

Browse files
🔧 Update base image tag version
1 parent 84a30f2 commit 9143186

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

Dockerfile

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ FROM projectoss/alpine:3.20.0
33
# Install security updates first
44
RUN apk update && apk upgrade
55

6-
# Install glibc compatibility for AWS CLI v2
7-
RUN apk add --no-cache gcompat
8-
96
# Install required packages
107
RUN apk add --no-cache \
118
ca-certificates \
@@ -19,15 +16,15 @@ RUN apk add --no-cache \
1916
python3 \
2017
py3-pip \
2118
unzip \
22-
groff \
23-
libc6-compat
19+
groff
20+
21+
# Install AWS CLI v1 using pip (more compatible with Alpine)
22+
RUN pip3 install --break-system-packages --no-cache-dir awscli
2423

25-
# Install AWS CLI v2 with glibc compatibility
26-
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" \
27-
&& unzip awscliv2.zip \
28-
&& ./aws/install \
29-
&& rm -rf aws awscliv2.zip \
30-
&& aws --version
24+
# Alternative: Install Python packages in virtual environment if needed
25+
# RUN python3 -m venv /opt/venv \
26+
# && /opt/venv/bin/pip install --no-cache-dir boto3 \
27+
# && ln -s /opt/venv/bin/python3 /usr/local/bin/python-venv
3128

3229
# Set versions - update these regularly
3330
ARG KUBECTL_VERSION="1.30.0"

0 commit comments

Comments
 (0)