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

fix: replace labels in dockerfiles

This commit is contained in:
Robert Kaussow 2021-01-26 14:05:35 +01:00
parent e616ee6dc1
commit 0b88a350f1
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61
3 changed files with 24 additions and 11 deletions

View File

@ -1,13 +1,18 @@
FROM plugins/base:linux-amd64 FROM plugins/base:linux-amd64
LABEL maintainer="Drone.IO Community <drone-dev@googlegroups.com>" \ LABEL maintainer="ownCloud DevOps <devops@owncloud.com>"
org.label-schema.name="Drone Ansible" \ LABEL org.opencontainers.image.authors="ownCloud DevOps <devops@owncloud.com>"
org.label-schema.vendor="Drone.IO Community" \ LABEL org.opencontainers.image.title="drone-ansible"
org.label-schema.schema-version="1.0" 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"
# renovate: datasource=pypi depName=ansible
ENV ANSIBLE_VERSION="2.10.5"
RUN apk add --no-cache bash git curl rsync openssh-client sshpass py3-pip py3-requests py3-paramiko python3-dev libffi-dev libressl-dev libressl build-base && \ RUN apk add --no-cache bash git curl rsync openssh-client sshpass py3-pip py3-requests py3-paramiko python3-dev libffi-dev libressl-dev libressl build-base && \
pip3 install -U pip && \ pip3 install -U pip && \
pip3 install ansible==2.10.5 boto3 hcloud && \ pip3 install ansible=="${ANSIBLE_VERSION}" boto3 hcloud && \
apk del --no-cache python3-dev libffi-dev libressl-dev build-base apk del --no-cache python3-dev libffi-dev libressl-dev build-base
ADD release/linux/amd64/drone-ansible /bin/ ADD release/linux/amd64/drone-ansible /bin/

View File

@ -1,13 +1,18 @@
FROM plugins/base:linux-arm FROM plugins/base:linux-arm
LABEL maintainer="Drone.IO Community <drone-dev@googlegroups.com>" \ LABEL maintainer="ownCloud DevOps <devops@owncloud.com>"
org.label-schema.name="Drone Ansible" \ LABEL org.opencontainers.image.authors="ownCloud DevOps <devops@owncloud.com>"
org.label-schema.vendor="Drone.IO Community" \ LABEL org.opencontainers.image.title="drone-ansible"
org.label-schema.schema-version="1.0" 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"
# renovate: datasource=pypi depName=ansible
ENV ANSIBLE_VERSION="2.10.5"
RUN apk add --no-cache bash git curl rsync openssh-client sshpass py3-pip py3-requests py3-paramiko python3-dev libffi-dev libressl-dev libressl build-base && \ RUN apk add --no-cache bash git curl rsync openssh-client sshpass py3-pip py3-requests py3-paramiko python3-dev libffi-dev libressl-dev libressl build-base && \
pip3 install -U pip && \ pip3 install -U pip && \
pip3 install ansible==2.10.5 boto3 hcloud && \ pip3 install ansible=="${ANSIBLE_VERSION}" boto3 hcloud && \
apk del --no-cache python3-dev libffi-dev libressl-dev build-base apk del --no-cache python3-dev libffi-dev libressl-dev build-base
ADD release/linux/arm/drone-ansible /bin/ ADD release/linux/arm/drone-ansible /bin/

View File

@ -7,9 +7,12 @@ 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.source="https://github.com/owncloud-ci/drone-ansible"
LABEL org.opencontainers.image.documentation="https://github.com/owncloud-ci/drone-ansible" LABEL org.opencontainers.image.documentation="https://github.com/owncloud-ci/drone-ansible"
# renovate: datasource=pypi depName=ansible
ENV ANSIBLE_VERSION="2.10.5"
RUN apk add --no-cache bash git curl rsync openssh-client sshpass py3-pip py3-requests py3-paramiko python3-dev libffi-dev libressl-dev libressl build-base && \ RUN apk add --no-cache bash git curl rsync openssh-client sshpass py3-pip py3-requests py3-paramiko python3-dev libffi-dev libressl-dev libressl build-base && \
pip3 install -U pip && \ pip3 install -U pip && \
pip3 install ansible==2.10.5 boto3 hcloud && \ pip3 install ansible=="${ANSIBLE_VERSION}" boto3 hcloud && \
apk del --no-cache python3-dev libffi-dev libressl-dev build-base apk del --no-cache python3-dev libffi-dev libressl-dev build-base
ADD release/linux/arm64/drone-ansible /bin/ ADD release/linux/arm64/drone-ansible /bin/