From 285c83f2a9c750b630951386224f0c14cfa74462 Mon Sep 17 00:00:00 2001 From: Thomas Boerger Date: Mon, 21 Jan 2019 16:41:03 +0100 Subject: [PATCH] Separate pip upgrade from ansible install, install latest ansible version --- docker/Dockerfile.linux.amd64 | 3 ++- docker/Dockerfile.linux.arm | 3 ++- docker/Dockerfile.linux.arm64 | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/docker/Dockerfile.linux.amd64 b/docker/Dockerfile.linux.amd64 index 587da85..b926348 100644 --- a/docker/Dockerfile.linux.amd64 +++ b/docker/Dockerfile.linux.amd64 @@ -6,7 +6,8 @@ LABEL maintainer="Drone.IO Community " \ org.label-schema.schema-version="1.0" RUN apk add --no-cache bash git curl rsync openssh-client py-pip py-requests python2-dev libffi-dev libressl-dev build-base && \ - pip install -U pip ansible==2.7.6 && \ + pip install -U pip && \ + pip install ansible==2.7.6 && \ apk del python2-dev libffi-dev libressl-dev build-base ADD release/linux/amd64/drone-ansible /bin/ diff --git a/docker/Dockerfile.linux.arm b/docker/Dockerfile.linux.arm index 2be58b4..1e0390d 100644 --- a/docker/Dockerfile.linux.arm +++ b/docker/Dockerfile.linux.arm @@ -6,7 +6,8 @@ LABEL maintainer="Drone.IO Community " \ org.label-schema.schema-version="1.0" RUN apk add --no-cache bash git curl rsync openssh-client py-pip py-requests python2-dev libffi-dev libressl-dev build-base && \ - pip install -U pip ansible==2.7.6 && \ + pip install -U pip && \ + pip install ansible==2.7.6 && \ apk del python2-dev libffi-dev libressl-dev build-base ADD release/linux/arm/drone-ansible /bin/ diff --git a/docker/Dockerfile.linux.arm64 b/docker/Dockerfile.linux.arm64 index dd25f0e..3c9c3dc 100644 --- a/docker/Dockerfile.linux.arm64 +++ b/docker/Dockerfile.linux.arm64 @@ -6,7 +6,8 @@ LABEL maintainer="Drone.IO Community " \ org.label-schema.schema-version="1.0" RUN apk add --no-cache bash git curl rsync openssh-client py-pip py-requests python2-dev libffi-dev libressl-dev build-base && \ - pip install -U pip ansible==2.7.6 && \ + pip install -U pip && \ + pip install ansible==2.7.6 && \ apk del python2-dev libffi-dev libressl-dev build-base ADD release/linux/arm64/drone-ansible /bin/