1 Commits
Author SHA1 Message Date
marc db4ea8e0ee neofetch
Docker / build (push) Canceled after 0s
2022-07-31 17:07:57 +02:00
4 changed files with 32 additions and 27 deletions
+1 -3
View File
@@ -33,14 +33,13 @@ services:
image: marcpartensky/arch:vnc
build:
context: vnc
# user: $USER
ports:
- "18080:8080"
- "15900:5900"
volumes:
# - /var/run/docker.sock:/var/run/docker.sock
- arch_pacman:/var/cache/pacman/pkg
- arch_home:/home/marc
- /srv/arch/home/marc:/home/marc
parabola:
image: marcpartensky/arch:parabola
@@ -49,4 +48,3 @@ services:
volumes:
arch_pacman:
arch_home:
+13 -9
View File
@@ -7,21 +7,25 @@ ENV DISPLAY=:0.0
# Install packages
RUN paru -Syyyu --noconfirm \
# xorg-server required for xdummy
xorg-server \
# xorg-server-utils \
xorg-server-xvfb \
# xf86-video-dummy \
tigervnc \
x11vnc \
novnc \
cron \
ttf-meslo-nerd-font-powerlevel10k
# xorg-server \
# xorg-server-utils \
ttf-meslo-nerd-font-powerlevel10k \
# xorg-server-xvfb
xf86-video-dummy
USER root
COPY crontab.txt /var/spool/cron/marc
RUN chmod 600 /var/spool/cron/marc
USER marc
COPY supervisord.conf entrypoint.sh /opt/arch/
ENTRYPOINT [ "/opt/arch/entrypoint.sh" ]
COPY supervisord.ini /etc/supervisor.d/supervisord.ini
USER root
RUN pwd
RUN ls
COPY entrypoint.sh /root/entrypoint.sh
ENTRYPOINT [ "/root/entrypoint.sh" ]
# ENTRYPOINT ["/usr/bin/supervisord", "-c", "/etc/supervisor.d/supervisord.ini"]
+2 -2
View File
@@ -1,4 +1,4 @@
#!/bin/sh
#!/sbin/zsh
export WALLPAPERS_PATH=/home/marc/wallpapers
supervisord -c /opt/arch/supervisord.conf -l /tmp/supervisord.log
/usr/bin/supervisord -c /etc/supervisor.d/supervisord.ini
+16 -13
View File
@@ -1,27 +1,30 @@
[supervisord]
nodaemon=true
; nodaemon=false
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[unix_http_server]
file=/tmp/supervisord.sock
[supervisorctl]
serverurl=unix:///tmp/supervisord.sock
[program:xvnc]
command=Xvnc :0 -SecurityTypes None -geometry 1820x980
[program:X11]
command=/usr/bin/Xvfb :0 -screen 0 1820x980x8
autorestart=true
user=marc
priority=1
; [program:startx]
; command=startx
; autorestart=true
; priority=1
[program:picom]
command=picom
command=zsh -c "sleep 5 && picom -b"
user=marc
autorestart=true
priority=2
[program:x11vnc]
command=/usr/bin/x11vnc -shared -forever
autorestart=true
user=marc
priority=2
[program:dwm]
command=/usr/local/bin/dwm
autorestart=true
@@ -51,6 +54,6 @@ user=root
priority=5
[program:alacritty]
command=alacritty -e sh -c "picom -b"
command=alacritty -e neofetch"
user=marc
priority=5