Skip to content

Commit fc80566

Browse files
🔧 Update base image tag version
1 parent d531564 commit fc80566

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

Dockerfile

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,21 @@ RUN apk add --no-cache \
1313
curl \
1414
gettext \
1515
openssl \
16-
py3-pip \
1716
python3 \
18-
&& pip3 install --no-cache-dir awscli boto3
17+
py3-pip \
18+
unzip \
19+
groff
20+
21+
# Install AWS CLI using the official installer (more reliable than pip)
22+
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" \
23+
&& unzip awscliv2.zip \
24+
&& ./aws/install \
25+
&& rm -rf aws awscliv2.zip
26+
27+
# Alternative: Install Python packages in virtual environment if needed
28+
# RUN python3 -m venv /opt/venv \
29+
# && /opt/venv/bin/pip install --no-cache-dir boto3 \
30+
# && ln -s /opt/venv/bin/python3 /usr/local/bin/python-venv
1931

2032
# Set versions - update these regularly
2133
ARG KUBECTL_VERSION="1.30.0"

0 commit comments

Comments
 (0)