mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-05-07 12:35:25 +00:00
Updated to support multiarch/BuiltKit builds
This commit is contained in:
+3
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user