0
0
mirror of https://github.com/thegeeklab/wp-ansible.git synced 2024-11-25 09:00:39 +00:00

Merge pull request #1 from drone-plugins/fixed-ansible

Install a specific version of ansible
This commit is contained in:
Thomas Boerger 2018-08-27 18:20:30 +02:00 committed by GitHub
commit 05b9ced029
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,8 +5,9 @@ LABEL maintainer="Drone.IO Community <drone-dev@googlegroups.com>" \
org.label-schema.vendor="Drone.IO Community" \ org.label-schema.vendor="Drone.IO Community" \
org.label-schema.schema-version="1.0" org.label-schema.schema-version="1.0"
RUN apk add --no-cache bash git curl ansible py-pip py-requests && \ RUN apk add --no-cache bash git curl py-pip py-requests python2-dev libffi-dev libressl-dev build-base && \
pip install -U pip pip install -U pip ansible==2.6.3 && \
apk del python2-dev libffi-dev libressl-dev build-base
ADD release/linux/amd64/drone-ansible /bin/ ADD release/linux/amd64/drone-ansible /bin/
ENTRYPOINT ["/bin/drone-ansible"] ENTRYPOINT ["/bin/drone-ansible"]