-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathwm-fvwm.Dockerfile
38 lines (28 loc) · 1.25 KB
/
wm-fvwm.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
35
36
37
FROM ubuntu:bionic
ENV DEBIAN_FRONTEND noninteractive
RUN apt update && apt install -y \
xvfb \
ffmpeg \
irssi \
tmux \
libfuse2 \
xdotool \
sudo \
xterm \
fuse \
x11-apps
RUN apt-get install -y dbus-x11 procps psmisc x11-utils x11-xserver-utils xosd-bin
# Xfce
RUN apt-get install -y --no-install-recommends fvwm
ENV DISPLAY "xvfb:99"
RUN echo '#! /bin/sh\n\
sudo -i -u user fvwm -replace\n\
' > /usr/local/bin/start
RUN chmod +x /usr/local/bin/start
#xterm -g 600x50+0+350 -T chat -e sh -c 'tmux attach -t irssi'
RUN useradd -ms /bin/bash -u 1000 user && \
echo "user ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers.d/default
ENV SILVERKEY_CONFIG "/home/user/.config/Unknown Organization/silverkey.conf"
COPY ./silverkey.conf $SILVERKEY_CONFIG
RUN chown -R user:user /home/user
ENTRYPOINT [ "/usr/local/bin/start" ]