0
0
mirror of https://github.com/thegeeklab/wp-ansible.git synced 2024-11-25 09:00:39 +00:00

Install fixed ansible version as on amd64

This commit is contained in:
Thomas Boerger 2019-01-21 15:56:33 +01:00
parent b415317dab
commit ab9f8c5efe
No known key found for this signature in database
GPG Key ID: 09745AFF9D63C79B
2 changed files with 6 additions and 4 deletions

View File

@ -5,8 +5,9 @@ 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 ansible py-pip && \ 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 pip install -U pip ansible==2.6.3 && \
apk del python2-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,8 +5,9 @@ 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 ansible py-pip && \ 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 pip install -U pip ansible==2.6.3 && \
apk del python2-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"]