From 486846e58fa0b319867898f1325806e91be33f38 Mon Sep 17 00:00:00 2001 From: Thomas Boerger Date: Mon, 27 Aug 2018 16:48:28 +0200 Subject: [PATCH] Install a specific version of ansible --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 776c386..190ac16 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,8 +5,9 @@ LABEL maintainer="Drone.IO Community " \ org.label-schema.vendor="Drone.IO Community" \ org.label-schema.schema-version="1.0" -RUN apk add --no-cache bash git curl ansible py-pip py-requests && \ - pip install -U pip +RUN apk add --no-cache bash git curl py-pip py-requests python2-dev libffi-dev libressl-dev build-base && \ + 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/ ENTRYPOINT ["/bin/drone-ansible"]