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"
|
|
|
|
|
2019-11-01 12:42:18 +00:00
|
|
|
RUN apk add --no-cache bash git curl rsync openssh-client py3-pip py3-requests py3-boto3@testing py3-paramiko python3-dev libffi-dev libressl-dev libressl build-base && \
|
2019-09-11 11:49:39 +00:00
|
|
|
pip3 install -U pip && \
|
2019-11-01 12:42:18 +00:00
|
|
|
pip3 install ansible==2.8.4 && \
|
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"]
|