-
Notifications
You must be signed in to change notification settings - Fork 109
/
Dockerfile
34 lines (32 loc) · 1.09 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
FROM --platform=linux/amd64 ubuntu:22.04
LABEL com.docker.image.name=ghcr.io/pret/pokeheartgold
RUN apt-get -y update \
&& apt-get -y install \
ca-certificates \
software-properties-common \
&& add-apt-repository ppa:ubuntu-toolchain-r/test -y \
&& apt-get -y --allow-downgrades install \
g++-10-multilib \
linux-libc-dev \
binutils-arm-none-eabi \
p7zip-full \
pkg-config \
libpugixml-dev \
ppa-purge \
wget \
lsb-release \
make \
git \
build-essential \
python3 \
libpng-dev \
&& { ppa-purge -y ppa:ubuntu-toolchain-r/test || true; } \
&& dpkg --add-architecture i386 \
&& mkdir -pm755 /etc/apt/keyrings \
&& wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key \
&& add-apt-repository ppa:cybermax-dexter/sdl2-backport \
&& wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/$(lsb_release -cs)/winehq-$(lsb_release -cs).sources \
&& apt-get update \
&& apt-get install --install-recommends --allow-downgrades -y winehq-stable \
&& hash -r
ENTRYPOINT [ "/bin/bash" ]