a51ab8a8dd
Docker Build and Push / lint (pull_request) Successful in 8s
Docker Build and Push / lint (push) Successful in 8s
Docker Build and Push / build (pull_request) Successful in 52s
Docker Build and Push / build (push) Successful in 52s
Docker Build and Push / test (push) Successful in 17s
Docker Build and Push / test (pull_request) Successful in 20s
Docker Build and Push / push (pull_request) Has been skipped
Docker Build and Push / push (push) Successful in 30s
20 lines
525 B
Docker
20 lines
525 B
Docker
FROM python:3.9-alpine
|
|
LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>"
|
|
|
|
ARG CLI_VERSION=1.16.148
|
|
|
|
# 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"] |