mirror of
https://github.com/thegeeklab/docker-autotag.git
synced 2024-11-22 00:00:42 +00:00
chore(docker): use standalone dockerfiles for multiarch
This commit is contained in:
parent
c050d36ced
commit
6e7d1f3e49
@ -1,24 +0,0 @@
|
||||
FROM python:3.9-alpine
|
||||
|
||||
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>" \
|
||||
org.label-schema.name="docker-autotag" \
|
||||
org.label-schema.vcs-url="https://github.com/thegeeklab/docker-autotag" \
|
||||
org.label-schema.vendor="Robert Kaussow" \
|
||||
org.label-schema.schema-version="1.0"
|
||||
|
||||
ENV PY_COLORS=1
|
||||
|
||||
ADD dist/docker_autotag-*.whl /
|
||||
|
||||
RUN apk --update add --virtual .build-deps build-base libffi-dev libressl-dev && \
|
||||
apk --update add git && \
|
||||
pip install --upgrade --no-cache-dir pip && \
|
||||
pip install --no-cache-dir docker_autotag-*.whl && \
|
||||
apk del .build-deps && \
|
||||
rm -f docker_autotag-*.whl && \
|
||||
rm -rf /var/cache/apk/* && \
|
||||
rm -rf /root/.cache/
|
||||
|
||||
USER root
|
||||
CMD []
|
||||
ENTRYPOINT ["/usr/local/bin/docker-autotag"]
|
25
docker/Dockerfile.amd64
Normal file
25
docker/Dockerfile.amd64
Normal file
@ -0,0 +1,25 @@
|
||||
FROM python:3.9-alpine
|
||||
|
||||
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>"
|
||||
LABEL org.opencontainers.image.authors="Robert Kaussow <mail@thegeeklab.de>"
|
||||
LABEL org.opencontainers.image.title="docker-autotag"
|
||||
LABEL org.opencontainers.image.url="https://github.com/thegeeklab/docker-autotag"
|
||||
LABEL org.opencontainers.image.source="https://github.com/thegeeklab/docker-autotag"
|
||||
LABEL org.opencontainers.image.documentation="https://github.com/thegeeklab/docker-autotag"
|
||||
|
||||
ENV PY_COLORS=1
|
||||
|
||||
ADD dist/docker_autotag-*.whl /
|
||||
|
||||
RUN apk --update add --virtual .build-deps build-base libffi-dev libressl-dev && \
|
||||
apk --update add git && \
|
||||
pip install --upgrade --no-cache-dir pip && \
|
||||
pip install --no-cache-dir $(find / -name "docker_autotag-*.whl") && \
|
||||
apk del .build-deps && \
|
||||
rm -f docker_autotag-*.whl && \
|
||||
rm -rf /var/cache/apk/* && \
|
||||
rm -rf /root/.cache/
|
||||
|
||||
USER root
|
||||
CMD []
|
||||
ENTRYPOINT ["/usr/local/bin/docker-autotag"]
|
25
docker/Dockerfile.arm
Normal file
25
docker/Dockerfile.arm
Normal file
@ -0,0 +1,25 @@
|
||||
FROM python:3.9-alpine
|
||||
|
||||
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>"
|
||||
LABEL org.opencontainers.image.authors="Robert Kaussow <mail@thegeeklab.de>"
|
||||
LABEL org.opencontainers.image.title="docker-autotag"
|
||||
LABEL org.opencontainers.image.url="https://github.com/thegeeklab/docker-autotag"
|
||||
LABEL org.opencontainers.image.source="https://github.com/thegeeklab/docker-autotag"
|
||||
LABEL org.opencontainers.image.documentation="https://github.com/thegeeklab/docker-autotag"
|
||||
|
||||
ENV PY_COLORS=1
|
||||
|
||||
ADD dist/docker_autotag-*.whl /
|
||||
|
||||
RUN apk --update add --virtual .build-deps build-base libffi-dev libressl-dev && \
|
||||
apk --update add git && \
|
||||
pip install --upgrade --no-cache-dir pip && \
|
||||
pip install --no-cache-dir $(find / -name "docker_autotag-*.whl") && \
|
||||
apk del .build-deps && \
|
||||
rm -f docker_autotag-*.whl && \
|
||||
rm -rf /var/cache/apk/* && \
|
||||
rm -rf /root/.cache/
|
||||
|
||||
USER root
|
||||
CMD []
|
||||
ENTRYPOINT ["/usr/local/bin/docker-autotag"]
|
25
docker/Dockerfile.arm64
Normal file
25
docker/Dockerfile.arm64
Normal file
@ -0,0 +1,25 @@
|
||||
FROM python:3.9-alpine
|
||||
|
||||
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>"
|
||||
LABEL org.opencontainers.image.authors="Robert Kaussow <mail@thegeeklab.de>"
|
||||
LABEL org.opencontainers.image.title="docker-autotag"
|
||||
LABEL org.opencontainers.image.url="https://github.com/thegeeklab/docker-autotag"
|
||||
LABEL org.opencontainers.image.source="https://github.com/thegeeklab/docker-autotag"
|
||||
LABEL org.opencontainers.image.documentation="https://github.com/thegeeklab/docker-autotag"
|
||||
|
||||
ENV PY_COLORS=1
|
||||
|
||||
ADD dist/docker_autotag-*.whl /
|
||||
|
||||
RUN apk --update add --virtual .build-deps build-base libffi-dev libressl-dev && \
|
||||
apk --update add git && \
|
||||
pip install --upgrade --no-cache-dir pip && \
|
||||
pip install --no-cache-dir $(find / -name "docker_autotag-*.whl") && \
|
||||
apk del .build-deps && \
|
||||
rm -f docker_autotag-*.whl && \
|
||||
rm -rf /var/cache/apk/* && \
|
||||
rm -rf /root/.cache/
|
||||
|
||||
USER root
|
||||
CMD []
|
||||
ENTRYPOINT ["/usr/local/bin/docker-autotag"]
|
Loading…
Reference in New Issue
Block a user