-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
68 lines (62 loc) · 1.62 KB
/
Dockerfile
File metadata and controls
68 lines (62 loc) · 1.62 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
FROM debian:bullseye
ARG QEMU_BIN
COPY $QEMU_BIN /usr/bin
# Add components used for the GUI
# --allow-unauthenticated is an arm64 patch
RUN apt-get update && apt-get install -y --allow-unauthenticated \
libasound2 \
libatk1.0-0 \
libcairo2 \
libcups2 \
libdatrie1 \
libdbus-1-3 \
libfontconfig1 \
libfreetype6 \
libgconf-2-4 \
libgcrypt20 \
libgl1-mesa-dri \
libgl1-mesa-glx \
libgdk-pixbuf2.0-0 \
libglib2.0-0 \
libgpg-error0 \
libgraphite2-3 \
libnotify-bin \
libnss3 \
libnspr4 \
libpango-1.0-0 \
libpangocairo-1.0-0 \
libxcomposite1 \
libxcursor1 \
libxdmcp6 \
libxi6 \
libxrandr2 \
libxrender1 \
libxss1 \
libxtst6 \
liblzma5 \
libxkbfile1 \
sudo \
gnupg \
wget \
ttf-bitstream-vera \
pulseaudio \
lxappearance \
locales
#Tell that I speak English
RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen \
&& locale-gen en_US.utf8 \
a&& /usr/sbin/update-locale LANG=en_US.UTF-8
#Add emoji
RUN wget https://github.com/eosrei/emojione-color-font/releases/download/v1.3/fonts-emojione-svginot_1.3-1_all.deb &&\
dpkg -i fonts-emojione-svginot_1.3-1_all.deb &&\
rm -f fonts-emojione-svginot_1.3-1_all.deb
# Add my x-browser-forwarder
# TODO: multiarch the releases
RUN wget https://github.com/meyskens/x-www-browser-forward/releases/download/0.0.1/client && \
mv client /etc/alternatives/x-www-browser && \
chmod +x /etc/alternatives/x-www-browser && \
ln -s /etc/alternatives/x-www-browser /usr/bin/x-www-browser
#Add user for apps that do not support root
RUN useradd user && usermod -aG sudo user
RUN mkdir /home/user && chown -R user /home/user
RUN echo "ALL ALL = (ALL) NOPASSWD: ALL" >>/etc/sudoers