2019-01-20 19:45:25 +00:00
|
|
|
FROM plugins/base:linux-amd64
|
2018-07-18 15:05:45 +00:00
|
|
|
|
|
|
|
LABEL maintainer="Drone.IO Community <drone-dev@googlegroups.com>" \
|
|
|
|
org.label-schema.name="Drone Ansible" \
|
|
|
|
org.label-schema.vendor="Drone.IO Community" \
|
|
|
|
org.label-schema.schema-version="1.0"
|
|
|
|
|
2020-07-24 10:49:09 +00:00
|
|
|
RUN apk add --no-cache bash git curl rsync openssh-client sshpass py3-pip py3-requests py3-paramiko python3-dev libffi-dev libressl-dev libressl build-base && \
|
2019-09-11 11:49:39 +00:00
|
|
|
pip3 install -U pip && \
|
2020-05-14 22:18:03 +00:00
|
|
|
pip3 install ansible==2.9.9 boto3==1.13.10 && \
|
2019-09-13 12:01:57 +00:00
|
|
|
apk del --no-cache python3-dev libffi-dev libressl-dev build-base
|
2018-07-18 15:05:45 +00:00
|
|
|
|
|
|
|
ADD release/linux/amd64/drone-ansible /bin/
|
|
|
|
ENTRYPOINT ["/bin/drone-ansible"]
|