51 Commits
Author SHA1 Message Date
marc 18689ee75f artixvnc
Docker / build (push) Canceled after 0s
2022-10-23 01:52:03 +02:00
marc 0e62dfab7f rip bat 2022-10-23 01:44:12 +02:00
marc adfe40a15e make artix 2022-10-19 11:16:09 +02:00
marc 481302a146 bye podman 2022-10-06 21:02:15 +02:00
marc e8b4959b17 artix docker-compose.yml 2022-10-02 23:31:34 +02:00
marc 2e457664f7 artix 2022-10-02 23:30:59 +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
marc 6d63cb2155 log in tmp snif 2022-08-01 17:30:29 +02:00
marc a22db472b9 no fkn daemon 2022-08-01 03:02:07 +02:00
marc 164e1cb1ef really dumb 2022-08-01 02:46:28 +02:00
marc fc23502974 fix dumb mistake 2022-08-01 02:44:50 +02:00
marc c7b4cb5853 boredom of xdummy 2022-08-01 02:34:02 +02:00
marc a7cd48a04b xdummy as x11vnc option 2022-08-01 01:33:37 +02:00
marc 86e75b58b6 supervisorctl support 2022-08-01 01:33:01 +02:00
marc 1142a94de2 doc 2022-07-31 23:57:16 +02:00
marc a7cd369994 order matters 2022-07-31 23:56:49 +02:00
marc afd7e68d7d xorg is mandatory 2022-07-31 23:47:52 +02:00
marc 03407b8f01 nodaemon 2022-07-31 23:47:23 +02:00
marc b718c4e278 xdummy 2022-07-31 23:36:42 +02:00
marc c93af7687e arch home 2022-07-31 23:35:51 +02:00
marc 20691c7236 volume 2022-07-31 23:35:31 +02:00
marc 22e7c5c8c7 log in home 2022-07-31 23:33:00 +02:00
marc de0edd6e09 fix path 2022-07-31 23:31:10 +02:00
marc a3b6355a5d / 2022-07-31 23:29:32 +02:00
marc a793159b82 /opt/arch 2022-07-31 23:28:48 +02:00
marc 3d9c2db3ff sh 2022-07-31 23:24:11 +02:00
marc a723f3a539 supervisord.conf 2022-07-31 23:15:32 +02:00
marc 324cc7cf53 conf and log in /home/marc 2022-07-31 23:06:42 +02:00
marc af06877daa Revert "lots of different jobs"
This reverts commit 4b3712029e.
2022-07-31 17:00:58 +02:00
marc 5b181bdc6f Revert "diffent job names"
This reverts commit 9e9d0090cc.
2022-07-31 16:58:59 +02:00
marc 9e9d0090cc diffent job names 2022-07-30 21:13:45 +02:00
marc 4b3712029e lots of different jobs 2022-07-30 21:11:42 +02:00
marc 9e1c8e88c1 xdummy 2022-07-30 19:51:39 +02:00
marc 06446e4c43 u 2 2022-07-30 19:04:11 +02:00
marc 74f37caeb8 entrypoint 2022-07-30 18:43:20 +02:00
marc f329b02ea8 entrypoint is back 2022-07-30 18:42:20 +02:00
marc bbab7b8a9c entrypoint 2022-07-30 18:15:25 +02:00
marc 6c24d3e39b trying pwd 2022-07-30 17:41:48 +02:00
marc d2517f1bd6 Merged compact 2022-07-30 09:11:44 +02:00
marc d2c4a8b592 root 2022-07-30 02:48:01 +02:00
marc 5288d008a9 root entrypoint 2022-07-29 19:53:54 +02:00
marc acf66e4fb4 fix 2 slash 2022-07-29 19:17:12 +02:00
marc df4e1f05cb all sequentially 2022-07-29 19:08:33 +02:00
15 changed files with 216 additions and 53 deletions
+8 -4
View File
@@ -6,6 +6,8 @@ vnc: buildvnc
docker-compose up vnc
parabola: buildparabola
docker-compose up parabola
artix: buildartix
docker-compose up artix
buildbase:
docker-compose build base
@@ -15,15 +17,17 @@ buildvnc: buildxorg
docker-compose build vnc
buildparabola: buildbase
docker-compose build parabola
buildartix:
docker-compose build artix
buildall: buildbase buildxorg buildvnc buildparabola
updateall:
docker pull archlinux
docker-compose build --no-cache
# docker-compose build --no-cache xorg
# docker-compose build --no-cache vnc
# docker-compose build --no-cache parabola
docker-compose build --no-cache base
docker-compose build --no-cache xorg
docker-compose build --no-cache vnc
docker-compose build --no-cache parabola
docker-compose push
push: buildall
+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)
+59
View File
@@ -0,0 +1,59 @@
FROM artixlinux/openrc:latest
LABEL maintainer="Marc Partensky"
RUN pacman -Syyyu --needed --noconfirm base-devel
RUN pacman -S --noconfirm git
RUN useradd --create-home --groups wheel --shell /usr/bin/zsh marc
RUN passwd -d marc
RUN echo "%wheel ALL=(ALL) ALL" >> /etc/sudoers
USER marc
WORKDIR /tmp
RUN git clone https://aur.archlinux.org/paru.git
WORKDIR /tmp/paru
RUN makepkg -si --noconfirm
RUN paru -Syyyu --noconfirm \
zsh \
neovim \
exa \
paruz \
make \
npm \
go \
pod2man \
openssh \
stow-git
# RUN paru -aS --noconfirm \
# bat
COPY entrypoint.sh /tmp/entrypoint.sh
USER root
RUN cat /etc/locale.gen
# RUN sed -i -e 's/en_US.UTF-8 UTF-8/fr_FR.UTF-8 UTF-8/' /etc/locale.gen
# RUN cat /etc/locale.gen
# RUN locale-gen
# RUN cat /etc/locale.gen
ENV LC_ALL fr_FR.UTF-8
ENV LANG fr_FR.UTF-8
ENV LANGUAGE fr_FR:fr
USER marc
ENV HOST docker
WORKDIR /home/marc
RUN mkdir git
RUN git clone https://github.com/marcpartensky/dotfiles git/dotfiles
RUN zsh git/dotfiles/main.sh
RUN make -C git/dotfiles stow
RUN touch .profile
RUN git clone https://github.com/marcpartensky/nvim ~/.config/nvim
RUN make -C ~/.config/nvim setup
ENTRYPOINT [ "/tmp/entrypoint.sh" ]
+4
View File
@@ -0,0 +1,4 @@
#!/usr/bin/zsh
ssh-keygen -q -t rsa -N '' -f $HOME/.ssh/id_rsa
exec zsh
+24
View File
@@ -0,0 +1,24 @@
FROM marcpartensky/artix
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
Hyprland-bin \
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/
COPY supervisord.conf /etc/supervisord.conf
# 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
supervisord -l /tmp/supervisord.log
@@ -1,30 +1,27 @@
[supervisord]
nodaemon=true
; nodaemon=false
[program:X11]
command=/usr/bin/Xvfb :0 -screen 0 1820x980x8
[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
autorestart=true
user=marc
priority=1
; [program:startx]
; command=startx
; autorestart=true
; priority=1
[program:picom]
command=zsh -c "sleep 5 && picom -b"
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
@@ -54,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
+8 -1
View File
@@ -10,6 +10,11 @@ services:
volumes:
- /var/run/docker.sock:/var/run/docker.sock
artix:
image: marcpartensky/artix
build:
context: artix
xorg:
image: marcpartensky/arch:xorg
build:
@@ -33,13 +38,14 @@ 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
- /srv/arch/home/marc:/home/marc
- arch_home:/home/marc
parabola:
image: marcpartensky/arch:parabola
@@ -48,3 +54,4 @@ services:
volumes:
arch_pacman:
arch_home:
+11 -15
View File
@@ -6,26 +6,22 @@ EXPOSE 5900 8080
ENV DISPLAY=:0.0
# Install packages
RUN paru -Syyy --noconfirm \
net-tools \
supervisor \
alacritty \
x11vnc \
RUN paru -Syyyu --noconfirm \
# xorg-server required for xdummy
xorg-server \
# xorg-server-utils \
xorg-server-xvfb \
# xf86-video-dummy \
tigervnc \
novnc \
cron \
xorg-server \
# xorg-server-utils \
ttf-meslo-nerd-font-powerlevel10k \
xorg-server-xvfb
ttf-meslo-nerd-font-powerlevel10k
USER root
COPY crontab.txt /var/spool/cron/marc
RUN chmod 600 /var/spool/cron/marc
USER marc
COPY supervisord.ini /etc/supervisor.d/supervisord.ini
USER root
COPY entrypoint.sh entrypoint.sh
ENTRYPOINT [ ".//entrypoint.sh" ]
# ENTRYPOINT ["/usr/bin/supervisord", "-c", "/etc/supervisor.d/supervisord.ini"]
COPY entrypoint.sh /opt/arch/
COPY supervisord.conf /etc/supervisord.conf
ENTRYPOINT [ "/opt/arch/entrypoint.sh" ]
+2 -2
View File
@@ -1,4 +1,4 @@
#!/sbin/zsh
#!/bin/sh
export WALLPAPERS_PATH=/home/marc/wallpapers
/usr/bin/supervisord -c /etc/supervisor.d/supervisord.ini
supervisord -l /tmp/supervisord.log
+57
View File
@@ -0,0 +1,57 @@
[supervisord]
nodaemon=true
[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
autorestart=true
user=marc
priority=1
[program:picom]
command=picom
user=marc
autorestart=true
priority=2
[program:dwm]
command=/usr/local/bin/dwm
autorestart=true
user=marc
priority=3
[program:dwmblocks]
command=/usr/local/bin/dwmblocks
autorestart=true
user=marc
priority=4
[program:noVNC]
command=/sbin/novnc --vnc localhost:5900 --listen 8080
autorestart=true
user=marc
priority=3
[program:wallpaper]
command=zsh -c "sleep 2 && /home/marc/.local/bin/wpp -n"
user=marc
priority=5
[program:cron]
command=crond -f
user=root
priority=5
[program:alacritty]
command=alacritty -e neofetch"
autorestart=false
user=marc
priority=5
+11 -11
View File
@@ -1,25 +1,25 @@
FROM marcpartensky/arch
RUN paru -Syyy --noconfirm \
RUN paru -Syyyu --noconfirm \
net-tools \
supervisor \
firefox \
alacritty \
picom \
rofi \
feh \
ttf-meslo-nerd-font-powerlevel10k \
# for nested x
xorg-server-xephyr \
# dwm build dependencies
libxft \
libxinerama
# ttf-menlo-powerline-git \
# ttf-meslo \
ttf-meslo-nerd-font-powerlevel10k \
alacritty \
xorg-xinit \
xorg-server \
# xorg-xinit \
# xorg-server \
# xorg-server-utils \
# xorg-server-xvfb \
xorg-server-xephyr
# dwm build dependencies
RUN paru -S --noconfirm libxft libxinerama
# setup dwn
RUN git clone https://github.com/marcpartensky/dwm git/dwm
@@ -46,6 +46,6 @@ RUN make -C git/shell
USER root
COPY entrypoint.sh entrypoint.sh
COPY supervisord.ini /etc/supervisor.d/supervisord.ini
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