collection.dockerfile/alpine/iamctl/Dockerfile
2022-06-16 21:12:30 +08:00

11 lines
381 B
Docker

FROM alpine:3.16
LABEL description="iamctl on alpine"
ENV container docker
RUN apk add bash git py3-pip vim aws-cli aws-cli-doc jq
RUN git clone https://github.com/aws-samples/aws-iamctl.git /tmp/aws-iamctl
RUN cd /tmp/aws-iamctl; python3 setup.py install
COPY equivalency_list.json /tmp/aws-iamctl/
COPY iam.json /tmp/aws-iamctl/
ENV PS1 "[iamctl] \w $ "
ENTRYPOINT ["/bin/bash"]