10 lines
477 B
Docker
10 lines
477 B
Docker
|
# aliyuncli requires python2
|
||
|
FROM alpine:3.10
|
||
|
ENV container docker
|
||
|
RUN apk update; apk upgrade; apk add py2-pip jq bash gcc libc-dev python2-dev libffi-dev rust cargo openssl-dev py2-cryptography sqlite
|
||
|
RUN pip install aliyuncli aliyun-python-sdk-ecs aliyun-python-sdk-nas aliyun-python-sdk-ram aliyun-python-sdk-slb aliyun-python-sdk-rds
|
||
|
COPY get-instances.sh /root/get-instances.sh
|
||
|
COPY ec2-matching.sh /root/ec2-matching.sh
|
||
|
RUN chmod 755 /root/*.sh
|
||
|
ENTRYPOINT ["/bin/bash"]
|