mirror of
https://github.com/mr0xb/dotfiles.git
synced 2026-08-27 19:34:57 -04:00
docker
This commit is contained in:
parent
fcb567094e
commit
50261d8e1c
9 changed files with 241 additions and 0 deletions
19
docker-img/awscli/Dockerfile
Normal file
19
docker-img/awscli/Dockerfile
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
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" ]
|
||||
Loading…
Reference in a new issue