2021-08-06 21:03:21 +02:00
|
|
|
FROM arm64v8/alpine:3.14@sha256:bd9137c3bb45dbc40cde0f0e19a8b9064c2bc485466221f5e95eb72b0d0cf82e
|
2018-07-18 17:05:45 +02:00
|
|
|
|
2021-01-26 12:37:19 +01:00
|
|
|
LABEL maintainer="ownCloud DevOps <devops@owncloud.com>"
|
|
|
|
LABEL org.opencontainers.image.authors="ownCloud DevOps <devops@owncloud.com>"
|
|
|
|
LABEL org.opencontainers.image.title="drone-ansible"
|
|
|
|
LABEL org.opencontainers.image.url="https://github.com/owncloud-ci/drone-ansible"
|
|
|
|
LABEL org.opencontainers.image.source="https://github.com/owncloud-ci/drone-ansible"
|
|
|
|
LABEL org.opencontainers.image.documentation="https://github.com/owncloud-ci/drone-ansible"
|
2018-07-18 17:05:45 +02:00
|
|
|
|
2021-02-09 10:45:07 +01:00
|
|
|
ARG ANSIBLE_VERSION
|
|
|
|
|
2021-01-26 14:05:35 +01:00
|
|
|
# renovate: datasource=pypi depName=ansible
|
2021-07-21 08:53:09 +02:00
|
|
|
ENV ANSIBLE_VERSION="${ANSIBLE_VERSION:-4.3.0}"
|
2021-01-26 14:05:35 +01:00
|
|
|
|
2021-06-16 10:20:01 +02:00
|
|
|
RUN apk add --no-cache bash git curl rsync openssh-client sshpass py3-pip py3-requests py3-paramiko python3-dev libffi-dev build-base && \
|
2019-09-11 13:49:39 +02:00
|
|
|
pip3 install -U pip && \
|
2021-06-07 16:04:57 +02:00
|
|
|
pip3 install ansible=="${ANSIBLE_VERSION}" boto3 hcloud pywinrm && \
|
2021-06-16 10:20:01 +02:00
|
|
|
apk del --no-cache python3-dev libffi-dev build-base
|
2018-07-18 17:05:45 +02:00
|
|
|
|
|
|
|
ADD release/linux/arm64/drone-ansible /bin/
|
|
|
|
ENTRYPOINT ["/bin/drone-ansible"]
|