collection.dockerfile/amzn2-awscli2/Dockerfile

10 lines
378 B
Docker
Raw Normal View History

2022-01-17 15:56:05 +08:00
FROM amazonlinux:2
LABEL maintainer="racken@racker.tech"
LABEL description="awscli 2.0.9 on amzn2"
LABEL autobuild="jenkins @weekly"
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"]