From 441293c20ae02d8cdc8c9c3b924f4318374678a3 Mon Sep 17 00:00:00 2001 From: Thomas Boerger Date: Wed, 11 Sep 2019 13:49:39 +0200 Subject: [PATCH] Upgrade to python3 --- docker/Dockerfile.linux.amd64 | 8 ++++---- docker/Dockerfile.linux.arm | 8 ++++---- docker/Dockerfile.linux.arm64 | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/docker/Dockerfile.linux.amd64 b/docker/Dockerfile.linux.amd64 index 714ecdd..f4eed18 100644 --- a/docker/Dockerfile.linux.amd64 +++ b/docker/Dockerfile.linux.amd64 @@ -5,10 +5,10 @@ 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 rsync openssh-client py-pip py-requests python2-dev libffi-dev libressl-dev libressl build-base && \ - pip install -U pip && \ - pip install ansible==2.8.2 && \ - apk del python2-dev libffi-dev libressl-dev build-base +RUN apk add --no-cache bash git curl rsync openssh-client py3-pip py3-requests python3-dev libffi-dev libressl-dev libressl build-base && \ + pip3 install -U pip && \ + pip3 install ansible==2.8.4 && \ + apk del python3-dev libffi-dev libressl-dev build-base ADD release/linux/amd64/drone-ansible /bin/ ENTRYPOINT ["/bin/drone-ansible"] diff --git a/docker/Dockerfile.linux.arm b/docker/Dockerfile.linux.arm index c96033a..114201a 100644 --- a/docker/Dockerfile.linux.arm +++ b/docker/Dockerfile.linux.arm @@ -5,10 +5,10 @@ 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 rsync openssh-client py-pip py-requests python2-dev libffi-dev libressl-dev libressl build-base && \ - pip install -U pip && \ - pip install ansible==2.8.2 && \ - apk del python2-dev libffi-dev libressl-dev build-base +RUN apk add --no-cache bash git curl rsync openssh-client py3-pip py3-requests python3-dev libffi-dev libressl-dev libressl build-base && \ + pip3 install -U pip && \ + pip3 install ansible==2.8.4 && \ + apk del python3-dev libffi-dev libressl-dev build-base ADD release/linux/arm/drone-ansible /bin/ ENTRYPOINT ["/bin/drone-ansible"] diff --git a/docker/Dockerfile.linux.arm64 b/docker/Dockerfile.linux.arm64 index 17e9445..45115e0 100644 --- a/docker/Dockerfile.linux.arm64 +++ b/docker/Dockerfile.linux.arm64 @@ -5,10 +5,10 @@ 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 rsync openssh-client py-pip py-requests python2-dev libffi-dev libressl-dev libressl build-base && \ - pip install -U pip && \ - pip install ansible==2.8.2 && \ - apk del python2-dev libffi-dev libressl-dev build-base +RUN apk add --no-cache bash git curl rsync openssh-client py3-pip py3-requests python3-dev libffi-dev libressl-dev libressl build-base && \ + pip3 install -U pip && \ + pip3 install ansible==2.8.4 && \ + apk del python3-dev libffi-dev libressl-dev build-base ADD release/linux/arm64/drone-ansible /bin/ ENTRYPOINT ["/bin/drone-ansible"]