mirror of
https://github.com/thegeeklab/wp-ansible.git
synced 2024-11-09 17:10:41 +00:00
Upgrade to python3
This commit is contained in:
parent
ce52110526
commit
441293c20a
@ -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"]
|
||||||
|
@ -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"]
|
||||||
|
@ -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"]
|
||||||
|
Loading…
Reference in New Issue
Block a user