mirror of
https://github.com/thegeeklab/ansible-doctor.git
synced 2024-11-21 20:30:43 +00:00
chore(docker): switch to org.opencontainers image labels
This commit is contained in:
parent
8d4e1e71e2
commit
648887efcb
@ -1,10 +1,11 @@
|
||||
FROM amd64/python:3.9-alpine
|
||||
|
||||
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>" \
|
||||
org.label-schema.name="ansible-doctor" \
|
||||
org.label-schema.vcs-url="https://github.com/thegeeklab/ansible-doctor" \
|
||||
org.label-schema.vendor="Robert Kaussow" \
|
||||
org.label-schema.schema-version="1.0"
|
||||
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>"
|
||||
LABEL org.opencontainers.image.authors="Robert Kaussow <mail@thegeeklab.de>"
|
||||
LABEL org.opencontainers.image.title="ansible-doctor"
|
||||
LABEL org.opencontainers.image.url="https://ansible-doctor.geekdocs.de/"
|
||||
LABEL org.opencontainers.image.source="https://github.com/thegeeklab/ansible-doctor"
|
||||
LABEL org.opencontainers.image.documentation="https://ansible-doctor.geekdocs.de/"
|
||||
|
||||
ENV PY_COLORS=1
|
||||
|
||||
@ -12,7 +13,7 @@ ADD dist/ansible_doctor-*.whl /
|
||||
|
||||
RUN apk update && \
|
||||
pip install --upgrade --no-cache-dir pip && \
|
||||
pip install --no-cache-dir ansible_doctor-*.whl && \
|
||||
pip install --no-cache-dir $(find / -name "ansible_doctor-*.whl") && \
|
||||
rm -f ansible_doctor-*.whl && \
|
||||
rm -rf /var/cache/apk/* && \
|
||||
rm -rf /root/.cache/
|
||||
|
@ -1,10 +1,11 @@
|
||||
FROM arm32v7/python:3.9-alpine
|
||||
|
||||
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>" \
|
||||
org.label-schema.name="ansible-doctor" \
|
||||
org.label-schema.vcs-url="https://github.com/thegeeklab/ansible-doctor" \
|
||||
org.label-schema.vendor="Robert Kaussow" \
|
||||
org.label-schema.schema-version="1.0"
|
||||
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>"
|
||||
LABEL org.opencontainers.image.authors="Robert Kaussow <mail@thegeeklab.de>"
|
||||
LABEL org.opencontainers.image.title="ansible-doctor"
|
||||
LABEL org.opencontainers.image.url="https://ansible-doctor.geekdocs.de/"
|
||||
LABEL org.opencontainers.image.source="https://github.com/thegeeklab/ansible-doctor"
|
||||
LABEL org.opencontainers.image.documentation="https://ansible-doctor.geekdocs.de/"
|
||||
|
||||
ENV PY_COLORS=1
|
||||
|
||||
@ -12,7 +13,7 @@ ADD dist/ansible_doctor-*.whl /
|
||||
|
||||
RUN apk update && \
|
||||
pip install --upgrade --no-cache-dir pip && \
|
||||
pip install --no-cache-dir ansible_doctor-*.whl && \
|
||||
pip install --no-cache-dir $(find / -name "ansible_doctor-*.whl") && \
|
||||
rm -f ansible_doctor-*.whl && \
|
||||
rm -rf /var/cache/apk/* && \
|
||||
rm -rf /root/.cache/
|
||||
|
@ -1,10 +1,11 @@
|
||||
FROM arm64v8/python:3.9-alpine
|
||||
|
||||
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>" \
|
||||
org.label-schema.name="ansible-doctor" \
|
||||
org.label-schema.vcs-url="https://github.com/thegeeklab/ansible-doctor" \
|
||||
org.label-schema.vendor="Robert Kaussow" \
|
||||
org.label-schema.schema-version="1.0"
|
||||
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>"
|
||||
LABEL org.opencontainers.image.authors="Robert Kaussow <mail@thegeeklab.de>"
|
||||
LABEL org.opencontainers.image.title="ansible-doctor"
|
||||
LABEL org.opencontainers.image.url="https://ansible-doctor.geekdocs.de/"
|
||||
LABEL org.opencontainers.image.source="https://github.com/thegeeklab/ansible-doctor"
|
||||
LABEL org.opencontainers.image.documentation="https://ansible-doctor.geekdocs.de/"
|
||||
|
||||
ENV PY_COLORS=1
|
||||
|
||||
@ -12,7 +13,7 @@ ADD dist/ansible_doctor-*.whl /
|
||||
|
||||
RUN apk update && \
|
||||
pip install --upgrade --no-cache-dir pip && \
|
||||
pip install --no-cache-dir ansible_doctor-*.whl && \
|
||||
pip install --no-cache-dir $(find / -name "ansible_doctor-*.whl") && \
|
||||
rm -f ansible_doctor-*.whl && \
|
||||
rm -rf /var/cache/apk/* && \
|
||||
rm -rf /root/.cache/
|
||||
|
Loading…
Reference in New Issue
Block a user