chore(docker): use standalone dockerfiles for multiarch

This commit is contained in:
Robert Kaussow 2021-01-04 16:07:42 +01:00
parent 3f622fcce8
commit bad8b1c569
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61
3 changed files with 31 additions and 1 deletions

View File

@ -1,4 +1,4 @@
FROM alpine:3.12 FROM amd64/alpine:3.12
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>" \ LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>" \
org.label-schema.name="wait-for" \ org.label-schema.name="wait-for" \

15
docker/Dockerfile.arm Normal file
View File

@ -0,0 +1,15 @@
FROM arm32v7/alpine:3.12
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>" \
org.label-schema.name="wait-for" \
org.label-schema.vcs-url="https://github.com/thegeeklab/wait-for" \
org.label-schema.vendor="Robert Kaussow" \
org.label-schema.schema-version="1.0"
ADD wait-for /usr/local/bin/wait-for
RUN apk --no-cache add netcat-openbsd
USER root
CMD []
ENTRYPOINT ["/usr/local/bin/wait-for"]

15
docker/Dockerfile.arm64 Normal file
View File

@ -0,0 +1,15 @@
FROM arm32v8/alpine:3.12
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>" \
org.label-schema.name="wait-for" \
org.label-schema.vcs-url="https://github.com/thegeeklab/wait-for" \
org.label-schema.vendor="Robert Kaussow" \
org.label-schema.schema-version="1.0"
ADD wait-for /usr/local/bin/wait-for
RUN apk --no-cache add netcat-openbsd
USER root
CMD []
ENTRYPOINT ["/usr/local/bin/wait-for"]