collection.dockerfile/debian/awscliv2/Dockerfile
2022-01-17 15:56:05 +08:00

9 lines
341 B
Docker

FROM amazonlinux:2
LABEL maintainer="racken@one27.cf"
LABEL description="awscli 2.0.9 on amzn2"
ENV container docker
RUN /usr/bin/yum -y install unzip groff less jq
RUN curl https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip -o /tmp/awscliv2.zip; cd /tmp; unzip awscliv2.zip; ./aws/install
ENV PS1 "awscli $ "
ENTRYPOINT ["/bin/bash"]