Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
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