File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff 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
2133ARG KUBECTL_VERSION="1.30.0"
You can’t perform that action at this time.
0 commit comments