mirror of
https://github.com/mr0xb/dotfiles.git
synced 2026-08-28 11:54:57 -04:00
19 lines
544 B
Docker
19 lines
544 B
Docker
FROM alpine:latest
|
|
|
|
RUN apk --no-cache add \
|
|
ca-certificates \
|
|
groff \
|
|
less \
|
|
python3 \
|
|
py3-pip \
|
|
&& pip3 install awscli \
|
|
&& mkdir -p /root/.aws \
|
|
&& { \
|
|
echo '[default]'; \
|
|
echo 'output = json'; \
|
|
echo 'region = us-east-1'; \
|
|
echo 'aws_access_key_id = $AMAZON_ACCESS_KEY_ID'; \
|
|
echo 'aws_secret_access_key = $AMAZON_SECRET_ACCESS_KEY'; \
|
|
} > /root/.aws/config
|
|
|
|
ENTRYPOINT [ "aws" ]
|