0
0
mirror of https://github.com/thegeeklab/wp-ansible.git synced 2024-11-21 23:50:40 +00:00

Upgrade to python3

This commit is contained in:
Thomas Boerger 2019-09-11 13:49:39 +02:00
parent ce52110526
commit 441293c20a
No known key found for this signature in database
GPG Key ID: 09745AFF9D63C79B
3 changed files with 12 additions and 12 deletions

View File

@ -5,10 +5,10 @@ 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 rsync openssh-client py-pip py-requests python2-dev libffi-dev libressl-dev libressl 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 && \
pip install -U pip && \ pip3 install -U pip && \
pip install ansible==2.8.2 && \ pip3 install ansible==2.8.4 && \
apk del python2-dev libffi-dev libressl-dev build-base apk del python3-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"]

View File

@ -5,10 +5,10 @@ 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 rsync openssh-client py-pip py-requests python2-dev libffi-dev libressl-dev libressl 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 && \
pip install -U pip && \ pip3 install -U pip && \
pip install ansible==2.8.2 && \ pip3 install ansible==2.8.4 && \
apk del python2-dev libffi-dev libressl-dev build-base apk del python3-dev libffi-dev libressl-dev build-base
ADD release/linux/arm/drone-ansible /bin/ ADD release/linux/arm/drone-ansible /bin/
ENTRYPOINT ["/bin/drone-ansible"] ENTRYPOINT ["/bin/drone-ansible"]

View File

@ -5,10 +5,10 @@ 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 rsync openssh-client py-pip py-requests python2-dev libffi-dev libressl-dev libressl 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 && \
pip install -U pip && \ pip3 install -U pip && \
pip install ansible==2.8.2 && \ pip3 install ansible==2.8.4 && \
apk del python2-dev libffi-dev libressl-dev build-base apk del python3-dev libffi-dev libressl-dev build-base
ADD release/linux/arm64/drone-ansible /bin/ ADD release/linux/arm64/drone-ansible /bin/
ENTRYPOINT ["/bin/drone-ansible"] ENTRYPOINT ["/bin/drone-ansible"]