Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c687607bef | ||
|
|
47c909c9ea | ||
|
|
aff5f9892b | ||
|
|
0382170ea7 | ||
|
|
d3327c2ab4 | ||
|
|
dd5b023ddf | ||
|
|
8e1f358b35 | ||
|
|
df4cba4a10 | ||
|
|
79e869af8a | ||
|
|
d694b82a36 | ||
|
|
e8d6c10a30 | ||
|
|
bbcc915bb7 | ||
|
|
7e18cb8c40 | ||
|
|
b0999881d9 | ||
|
|
0dec0927b8 | ||
|
|
40305fcd40 | ||
|
|
a190411195 | ||
|
|
661eb8a7a9 | ||
|
|
e100c00560 | ||
|
|
1d1be887c2 | ||
|
|
5ec5c35b11 | ||
|
|
0e62dfab7f | ||
|
|
adfe40a15e | ||
|
|
481302a146 | ||
|
|
e8b4959b17 | ||
|
|
2e457664f7 | ||
|
|
5f2037f4e1 | ||
|
|
2e5f3cfefa | ||
|
|
b8efe0e1ae | ||
|
|
422390e7ae | ||
|
|
1157533056 | ||
|
|
6e071f2eb2 | ||
|
|
a104ce0722 | ||
|
|
e75fd3a743 | ||
|
|
cfbee45c9a |
@@ -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)
|
||||
|
||||
@@ -0,0 +1,83 @@
|
||||
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 -Rc --noconfirm elogind-openrc
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
# ENV WLR_DRM_DEVICES=/dev/dri/card0
|
||||
ENV WLR_BACKENDS=headless
|
||||
ENV WLR_RENDERER=pixman
|
||||
ENV WLR_RENDERER_ALLOW_SOFTWARE=1
|
||||
ENV WLR_LIBINPUT_NO_DEVICES=1
|
||||
ENV WAYLAND_DISPLAY=wayland-1
|
||||
ENV LIBSEAT_BACKEND=logind
|
||||
ENV XDG_RUNTIME_DIR=/tmp
|
||||
ENV XDG_SESSION_TYPE=wayland
|
||||
|
||||
RUN paru -Syyyu --noconfirm \
|
||||
alacritty \
|
||||
firefox \
|
||||
nautilus
|
||||
|
||||
RUN paru -Syyyu --noconfirm \
|
||||
hyprland \
|
||||
wayvnc \
|
||||
wpaperd \
|
||||
# waysct
|
||||
|
||||
|
||||
USER root
|
||||
# ENTRYPOINT [ "/tmp/entrypoint.sh" ]
|
||||
Executable
+4
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/zsh
|
||||
|
||||
ssh-keygen -q -t rsa -N '' -f $HOME/.ssh/id_rsa
|
||||
exec zsh
|
||||
@@ -10,6 +10,27 @@ services:
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
|
||||
artix:
|
||||
image: marcpartensky/artix
|
||||
build:
|
||||
context: artix
|
||||
tmpfs:
|
||||
- /tmp
|
||||
- /run
|
||||
# volumes:
|
||||
# - /var/run/docker.sock:/var/run/docker.sock
|
||||
# - /sys/fs/cgroup:/sys/fs/cgroup:ro
|
||||
# - /dev/dri:/dev/dri
|
||||
devices:
|
||||
- /dev/dri
|
||||
# deploy:
|
||||
# resources:
|
||||
# reservations:
|
||||
# devices:
|
||||
# - driver: nvdia
|
||||
# count: 1
|
||||
# capabilities: [gpu]
|
||||
|
||||
xorg:
|
||||
image: marcpartensky/arch:xorg
|
||||
build:
|
||||
|
||||
@@ -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,6 +17,8 @@ buildvnc: buildxorg
|
||||
docker-compose build vnc
|
||||
buildparabola: buildbase
|
||||
docker-compose build parabola
|
||||
buildartix:
|
||||
docker-compose build artix
|
||||
|
||||
buildall: buildbase buildxorg buildvnc buildparabola
|
||||
|
||||
@@ -24,6 +28,7 @@ updateall:
|
||||
docker-compose build --no-cache xorg
|
||||
docker-compose build --no-cache vnc
|
||||
docker-compose build --no-cache parabola
|
||||
docker-compose build --no-cache artix
|
||||
docker-compose push
|
||||
|
||||
push: buildall
|
||||
+3
-3
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user