Updated to support multiarch/BuiltKit builds

This commit is contained in:
Geoff Bourne
2020-05-21 20:48:54 -05:00
parent bbdb2c9b36
commit 9ec336283f
2 changed files with 8 additions and 3 deletions
+3 -3
View File
@@ -26,9 +26,9 @@ EXPOSE 25565 25575
# hook into docker BuildKit --platform support
# see https://docs.docker.com/engine/reference/builder/#automatic-platform-args-in-the-global-scope
ARG TARGETOS=linux
ARG TARGETARCH=arm
ARG TARGETVARIANT=v7
ARG TARGETOS
ARG TARGETARCH
ARG TARGETVARIANT
ARG EASY_ADD_VER=0.7.1
ADD https://github.com/itzg/easy-add/releases/download/${EASY_ADD_VER}/easy-add_${TARGETOS}_${TARGETARCH}${TARGETVARIANT} /usr/bin/easy-add