mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
Update Dockerfile
This commit is contained in:
parent
df8afa9e50
commit
ab8669ac90
|
|
@ -8,14 +8,34 @@ RUN dpkg --add-architecture i386 \
|
||||||
&& apt-get update \
|
&& apt-get update \
|
||||||
&& apt-get install -y --no-install-recommends \
|
&& apt-get install -y --no-install-recommends \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
wine \
|
|
||||||
wine64 \
|
|
||||||
wine32:i386 \
|
|
||||||
xwayland-run \
|
xwayland-run \
|
||||||
cage \
|
cage \
|
||||||
|
curl \
|
||||||
tini \
|
tini \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
# Wine from the upstream repo
|
||||||
|
RUN mkdir -pm755 /etc/apt/keyrings && \
|
||||||
|
curl -fsSL https://dl.winehq.org/wine-builds/winehq.key \
|
||||||
|
-o /etc/apt/keyrings/winehq-archive.key && \
|
||||||
|
curl -fsSL https://dl.winehq.org/wine-builds/debian/dists/trixie/winehq-trixie.sources \
|
||||||
|
-o /etc/apt/sources.list.d/winehq-trixie.sources && \
|
||||||
|
apt-get update && \
|
||||||
|
apt-get install -y --install-recommends winehq-devel
|
||||||
|
|
||||||
|
# UMU
|
||||||
|
RUN set -eux; \
|
||||||
|
ver="$( \
|
||||||
|
curl -sIL https://github.com/Open-Wine-Components/umu-launcher/releases/latest \
|
||||||
|
| grep -i '^location:' \
|
||||||
|
| sed -E 's|.*tag/||' \
|
||||||
|
| tr -d '\r' \
|
||||||
|
)"; \
|
||||||
|
curl -Lo /tmp/umu-launcher.deb \
|
||||||
|
"https://github.com/Open-Wine-Components/umu-launcher/releases/download/${ver}/python3-umu-launcher_${ver}-1_amd64_ubuntu-noble.deb"; \
|
||||||
|
apt-get install -y /tmp/umu-launcher.deb; \
|
||||||
|
rm -f /tmp/umu-launcher.deb;
|
||||||
|
|
||||||
ENV PROTON_ENABLE_WAYLAND=1
|
ENV PROTON_ENABLE_WAYLAND=1
|
||||||
ENV WINEARCH=win64
|
ENV WINEARCH=win64
|
||||||
ENV WINEPREFIX=/var/opt/minecraft_lce
|
ENV WINEPREFIX=/var/opt/minecraft_lce
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue