11 Commits
Author SHA1 Message Date
marc 6ab8c54902 --user only
Docker / build (push) Canceled after 0s
2022-10-02 23:25:27 +02:00
marc ce70845eac openrc first commit 2022-10-02 23:12:42 +02:00
marc 5f2037f4e1 readme refactored 2022-08-11 19:01:06 +02:00
marc 2e5f3cfefa /etc/supervisord.conf 2022-08-10 00:23:17 +02:00
marc b8efe0e1ae autorestart false 2022-08-10 00:20:13 +02:00
marc 422390e7ae Merged neofetch 2022-08-10 00:18:52 +02:00
marc 1157533056 conf 2022-08-09 20:29:57 +02:00
marc 6e071f2eb2 geometry
Docker / build (push) Canceled after 0s
2022-08-08 01:41:48 +02:00
marc a104ce0722 xvnc 2022-08-08 01:35:44 +02:00
marc e75fd3a743 xvnc 2022-08-08 01:33:40 +02:00
marc cfbee45c9a xvnc attempt 2022-08-08 01:21:12 +02:00
11 changed files with 62 additions and 24 deletions
+12 -3
View File
@@ -1,6 +1,15 @@
# Custom environment images
- [marcpartensky/arch](https://hub.docker.com/r/marcpartensky/arch)
- [marcpartensky/arch:xorg](https://hub.docker.com/r/marcpartensky/arch:xorg)
- [marcpartensky/arch:vnc](https://hub.docker.com/r/marcpartensky/arch:vnc)
## Shell
[marcpartensky/arch](https://hub.docker.com/r/marcpartensky/arch)
## Xephyr
[marcpartensky/arch:xorg](https://hub.docker.com/r/marcpartensky/arch:xorg)
## VNC/NoVNC
[marcpartensky/arch:vnc](https://hub.docker.com/r/marcpartensky/arch:vnc)
## Parabola
Parabola is an arch derivative that focuses on foss.
- [marcpartensky/arch:parabola](https://hub.docker.com/r/marcpartensky/arch:parabola)
+8
View File
@@ -47,6 +47,14 @@ services:
build:
context: parabola
openrc:
image: marcpartensky/arch:openrc
build:
context: openrc
ports:
- "18080:8080"
- "15900:5900"
volumes:
arch_pacman:
arch_home:
+27
View File
@@ -0,0 +1,27 @@
FROM marcpartensky/arch:xorg
LABEL maintainer=<marc.partensky@gmail.com>
USER marc
EXPOSE 5900 8080
ENV DISPLAY=:0.0
# Install packages
RUN paru -Syyyu --noconfirm \
# xorg-server required for xdummy
openrc \
xorg-server \
# xorg-server-utils \
xorg-server-xvfb \
# xf86-video-dummy \
tigervnc \
novnc \
cron \
ttf-meslo-nerd-font-powerlevel10k
USER root
COPY crontab.txt /var/spool/cron/marc
RUN chmod 600 /var/spool/cron/marc
USER marc
COPY entrypoint.sh /opt/arch/
ENTRYPOINT [ "/opt/arch/entrypoint.sh" ]
+1
View File
@@ -0,0 +1 @@
* * * * * /home/marc/.local/bin/wpp -n
+4
View File
@@ -0,0 +1,4 @@
#!/bin/sh
export WALLPAPERS_PATH=/home/marc/wallpapers
/sbin/init --user
+3 -3
View File
@@ -12,7 +12,7 @@ RUN paru -Syyyu --noconfirm \
# xorg-server-utils \
xorg-server-xvfb \
# xf86-video-dummy \
x11vnc \
tigervnc \
novnc \
cron \
ttf-meslo-nerd-font-powerlevel10k
@@ -22,6 +22,6 @@ COPY crontab.txt /var/spool/cron/marc
RUN chmod 600 /var/spool/cron/marc
USER marc
COPY supervisord.conf entrypoint.sh /opt/arch/
COPY entrypoint.sh /opt/arch/
COPY supervisord.conf /etc/supervisord.conf
ENTRYPOINT [ "/opt/arch/entrypoint.sh" ]
# ENTRYPOINT ["/usr/bin/supervisord", "-c", "/etc/supervisor.d/supervisord.ini"]
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/sh
export WALLPAPERS_PATH=/home/marc/wallpapers
supervisord -c /opt/arch/supervisord.conf -l /tmp/supervisord.log
supervisord -l /tmp/supervisord.log
+4 -15
View File
@@ -10,30 +10,18 @@ file=/tmp/supervisord.sock
[supervisorctl]
serverurl=unix:///tmp/supervisord.sock
[program:xvfb]
command=Xvfb :0 -screen 0 1820x980x8
[program:xvnc]
command=Xvnc :0 -SecurityTypes None -geometry 1820x980
autorestart=true
user=marc
priority=1
# [program:xdummy]
# command=/usr/bin/Xdummy :0 -screen 0 1820x980x8
# autorestart=true
# user=marc
# priority=1
[program:picom]
command=picom
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
@@ -63,6 +51,7 @@ user=root
priority=5
[program:alacritty]
command=alacritty -e sh -c "picom -b"
command=alacritty -e neofetch"
autorestart=false
user=marc
priority=5
+1 -1
View File
@@ -45,7 +45,7 @@ RUN git clone https://github.com/marcpartensky/shell git/shell
RUN make -C git/shell
USER root
COPY supervisord.ini /etc/supervisor.d/supervisord.ini
COPY entrypoint.sh entrypoint.sh
COPY supervisord.conf /etc/supervisord.conf
ENTRYPOINT [ "./entrypoint.sh" ]
# ENTRYPOINT [ "DISPLAY=:0", "Xephyr", ":1" ]
+1 -1
View File
@@ -3,4 +3,4 @@
export WALLPAPERS_PATH=/home/marc/wallpapers
# export DISPLAY=:0
# Xephyr :1 -extension MIT-SHM
/usr/bin/supervisord -c /etc/supervisor.d/supervisord.ini
supervisord -l /tmp/supervisord.log