FEX-Emu statt Box64: hermetic in-image emulator (EMULATOR=fex|box64 build-arg)
- Base ubuntu:24.04 (fex-emu PPA has no Debian series) - setup-arm64: installs fex-emu(+thunks) from ppa:fex-emu/fex and bakes the Ubuntu 24.04 x86_64 RootFS (unsquashed to /opt/fex-emu-rootfs) into the image - bedrock-entry.sh: USE_FEX=true (default on FEX builds) execs FEXInterpreter; FEX_EMU_DIR for JIT caches stays volume-friendly; box64 path kept as fallback - amd64 builds untouched (native exec)
This commit is contained in:
1 parent
6cc16c40af
commit
fc2454d208
3 files changed
+60
-8
No files matched your search
+3
-2
@@ -1,4 +1,4 @@
|
||||
FROM debian
|
||||
FROM ubuntu:24.04
|
||||
|
||||
# hook into docker BuildKit --platform support
|
||||
# see https://docs.docker.com/engine/reference/builder/#automatic-platform-args-in-the-global-scope
|
||||
@@ -8,8 +8,9 @@ ARG TARGETVARIANT
|
||||
|
||||
RUN --mount=target=/build,source=build /build/install-packages
|
||||
|
||||
ARG EMULATOR=fex
|
||||
ARG BOX64_PACKAGE=box64
|
||||
RUN --mount=target=/build,source=build BOX64_PACKAGE=$BOX64_PACKAGE /build/setup-arm64
|
||||
RUN --mount=target=/build,source=build EMULATOR=$EMULATOR BOX64_PACKAGE=$BOX64_PACKAGE /build/setup-arm64
|
||||
|
||||
EXPOSE 19132/tcp
|
||||
EXPOSE 19132/udp
|
||||
|
||||
Reference in new issue
Block a user