-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
42 lines (36 loc) · 1.2 KB
/
Dockerfile
File metadata and controls
42 lines (36 loc) · 1.2 KB
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
35
36
37
38
39
40
41
42
# Run dolphin in a container
# Base docker image
FROM debian:sid
MAINTAINER Diom
# This is irrelevant now I build it with '--network="host"' option
# echo "nameserver 192.168.0.254\nnameserver 80.67.169.12\nnameserver 80.67.169.40" > /etc/resolv.conf \
# && echo "deb http://ftp.fr.debian.org/debian/ unstable main contrib non-free" > /etc/apt/sources.list \
#Install Dolphin and prerequisites
RUN apt-get update && apt-get install -y \
hicolor-icon-theme \
libgl1-mesa-dri \
libgl1-mesa-glx \
libpulse0 \
libv4l-0 \
fonts-symbola \
# /Start section/ This has been added because needed in my unigine-heaven benchmark test, this doesn't
# takes a lot of disk space, but might be not necessary. TODO : try to remove them one by one and test
libfontconfig1 \
libxrender1 \
libxrandr2 \
libxinerama1 \
libopenal1 \
mesa-utils \
# /End section/
dolphin-emu \
dolphin-emu-data \
&& apt-get autoremove \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /src/*.deb \
&& mkdir -p "/root/.config/dolphin-emu" \
&& mkdir "/roms"
VOLUME /root/.config/dolphin-emu
VOLUME /roms
# ENTRYPOINT ["/usr/games/dolphin-emu"]
# CMD ["-u /config/"]
CMD ["/usr/games/dolphin-emu"]