Add property mapping for force-gamemode (#406)

Also
* Updated box64 package structure
This commit is contained in:
Geoff Bourne authored and GitHub committed 2024-04-03 22:29:25 -05:00
1 parent f28c5a2d8a
commit fc68969c4b
5 files changed
+40 -19

No files matched your search

+3 -19
View File
@@ -6,26 +6,10 @@ ARG TARGETOS
ARG TARGETARCH
ARG TARGETVARIANT
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y \
curl \
openssl \
unzip \
jq \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN --mount=target=/build,source=build /build/install-packages
# Install box64 on arm
RUN if [ "$TARGETARCH" = "arm64" ] ; then \
apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y debian-keyring && \
curl -L https://ryanfortner.github.io/box64-debs/box64.list -o /etc/apt/sources.list.d/box64.list && \
curl -L https://ryanfortner.github.io/box64-debs/KEY.gpg | gpg --dearmor | tee /etc/apt/trusted.gpg.d/box64-debs-archive-keyring.gpg && \
apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y box64-arm64 \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* ;\
fi
ARG BOX64_PACKAGE=box64
RUN --mount=target=/build,source=build BOX64_PACKAGE=$BOX64_PACKAGE /build/setup-arm64
EXPOSE 19132/udp