Files
awscli/Dockerfile
T
Sagent 9a1561d2ad
Docker Build and Push / lint (pull_request) Successful in 6s
Docker Build and Push / build (pull_request) Successful in 46s
Docker Build and Push / test (pull_request) Successful in 17s
Docker Build and Push / push (pull_request) Has been skipped
fix: bump Python 3.9→3.14 and awscli 1.16.148→1.45.27
- Python 3.14 image for latest Python compatibility
- awscli 1.45.27 drops vendored urllib3 with 'from collections import Mapping'
  (removed in Python 3.12+) and supports Python >=3.10
2026-06-10 23:50:37 +00:00

20 lines
525 B
Docker

FROM python:3.14-alpine
LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>"
ARG CLI_VERSION=1.45.27
# hadolint ignore=DL3018,DL3013
RUN apk --no-cache upgrade && \
apk --no-cache add --virtual build-dependencies \
groff \
jq \
less && \
pip install --no-cache-dir awscli==${CLI_VERSION} && \
apk del build-dependencies && \
rm -rf /usr/lib/ruby/gems/*/cache/* \
/var/cache/apk/* \
/tmp/* \
/var/tmp/*
WORKDIR /data
ENTRYPOINT ["/usr/local/bin/aws"]