34 Commits
Author SHA1 Message Date
marc db4ea8e0ee neofetch
Docker / build (push) Canceled after 0s
2022-07-31 17:07:57 +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
marc fd147a99dc depth is mandatory rip 2022-07-28 03:48:30 +02:00
marc c4c6ff454d force user marc 2022-07-28 03:03:42 +02:00
marc 72c6ee9bff gotta pull archlinux because of regular pacman updates 2022-07-28 02:59:49 +02:00
marc fb8378dea9 changed display 2022-07-28 02:51:48 +02:00
marc 408ad25ab3 shared forever 2022-07-28 02:51:02 +02:00
marc 4de87c9b02 rethinked volumes 2022-07-28 02:49:22 +02:00
marc 08b6b9ffbb arch home volume 2022-07-28 02:46:43 +02:00
marc 5bc44fde32 feh for xorg
Docker / build (push) Canceled after 0s
2022-07-28 02:09:13 +02:00
marc 55ad1ea8f6 first xephyr that works 2022-07-28 02:08:19 +02:00
marc ee9b068eba going full xephyr 2022-07-28 01:02:44 +02:00
marc 0e13345a98 xephyr copied from vnc 2022-07-25 20:37:28 +02:00
marc 900b9d881f no pipeinput rip 2022-07-25 00:19:00 +02:00
marc a6efb9a443 build test for everything except master 2022-07-24 23:30:18 +02:00
marc 451098f5bc build one by one 2022-07-24 23:07:48 +02:00
marc 43ea33c92a build one by one 2022-07-24 21:08:04 +02:00
marc 8000f57fcd cron : everyday at 4am 2022-07-24 21:05:12 +02:00
marc ca3ccb7805 buildall 2022-07-24 20:55:16 +02:00
marc 102becb3b4 updateall 2022-07-24 20:54:48 +02:00
9 changed files with 170 additions and 29 deletions
+39
View File
@@ -0,0 +1,39 @@
name: Docker
on:
schedule:
- cron: "0 4 * * *" # everyday at 4 am
push:
branches:
- '*' # matches every branch that doesn't contain a '/'
- '*/*' # matches every branch containing a single '/'
- '**' # matches every branch
- '!master' # excludes master
# Publish `v1.2.3` tags as releases.
tags:
- v*
# Run tests for any PRs.
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Update apt
run: sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y
- name: Install make
run: sudo apt install make docker-compose -y
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: build base
run: make buildbase
- name: build xorg
run: make buildxorg
- name: build vnc
run: make buildvnc
- name: build parabola
run: make buildparabola
+12 -2
View File
@@ -1,6 +1,8 @@
name: Docker
on:
schedule:
- cron: "0 4 * * *" # everyday at 4 am
push:
branches:
- master
@@ -24,8 +26,16 @@ jobs:
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: build
run: make build
- name: build base
run: make buildbase
- name: build xorg
run: make buildxorg
- name: build vnc
run: make buildvnc
- name: build parabola
run: make buildparabola
# - name: build all
# run: make buildall
- name: Login to DockerHub
uses: docker/login-action@v1
with:
+8
View File
@@ -18,6 +18,14 @@ buildparabola: buildbase
buildall: buildbase buildxorg buildvnc buildparabola
updateall:
docker pull archlinux
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
docker-compose push
+17 -4
View File
@@ -15,11 +15,19 @@ services:
build:
context: xorg
environment:
DISPLAY: $DISPLAY
DISPLAY: :1
# ipc: host
# privileged: true
user: $USER
# pid: host
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix
devices:
- /dev/dri
- /tmp/.X1-lock:/tmp/.X1-lock
# - /tmp:/tmp
# devices:
# - /dev/dri
- arch_pacman:/var/cache/pacman/pkg
- /srv/arch/home/marc:/home/marc
vnc:
image: marcpartensky/arch:vnc
@@ -29,9 +37,14 @@ services:
- "18080:8080"
- "15900:5900"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
# - /var/run/docker.sock:/var/run/docker.sock
- arch_pacman:/var/cache/pacman/pkg
- /srv/arch/home/marc:/home/marc
parabola:
image: marcpartensky/arch:parabola
build:
context: parabola
volumes:
arch_pacman:
+9 -9
View File
@@ -1,22 +1,20 @@
FROM marcpartensky/arch:xorg
LABEL maintainer=<marc.partensky@gmail.com>
USER marc
EXPOSE 5900 8080
ENV DISPLAY=:0.0
# Install packages
RUN paru -Syyy --noconfirm \
net-tools \
supervisor \
alacritty \
feh \
RUN paru -Syyyu --noconfirm \
x11vnc \
novnc \
cron \
xorg-server \
# xorg-server \
# xorg-server-utils \
ttf-meslo-nerd-font-powerlevel10k \
xorg-server-xvfb
# xorg-server-xvfb
xf86-video-dummy
USER root
COPY crontab.txt /var/spool/cron/marc
@@ -26,6 +24,8 @@ USER marc
COPY supervisord.ini /etc/supervisor.d/supervisord.ini
USER root
COPY entrypoint.sh entrypoint.sh
ENTRYPOINT [ ".//entrypoint.sh" ]
RUN pwd
RUN ls
COPY entrypoint.sh /root/entrypoint.sh
ENTRYPOINT [ "/root/entrypoint.sh" ]
# ENTRYPOINT ["/usr/bin/supervisord", "-c", "/etc/supervisor.d/supervisord.ini"]
+3 -3
View File
@@ -3,7 +3,7 @@ nodaemon=true
; nodaemon=false
[program:X11]
command=/usr/bin/Xvfb :0 -screen 0 1536x768x24
command=/usr/bin/Xvfb :0 -screen 0 1820x980x8
autorestart=true
user=marc
priority=1
@@ -20,7 +20,7 @@ autorestart=true
priority=2
[program:x11vnc]
command=/usr/bin/x11vnc -pipeinput
command=/usr/bin/x11vnc -shared -forever
autorestart=true
user=marc
priority=2
@@ -54,6 +54,6 @@ user=root
priority=5
[program:alacritty]
command=alacritty -e sh -c "picom -b"
command=alacritty -e neofetch"
user=marc
priority=5
+17 -11
View File
@@ -1,23 +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
# dwm build dependencies
RUN paru -S --noconfirm libxft libxinerama
# xorg-server-xvfb \
# setup dwn
RUN git clone https://github.com/marcpartensky/dwm git/dwm
@@ -42,4 +44,8 @@ RUN git clone https://github.com/marcpartensky/wallpapers wallpapers
RUN git clone https://github.com/marcpartensky/shell git/shell
RUN make -C git/shell
ENTRYPOINT [ "alacritty" ]
USER root
COPY supervisord.ini /etc/supervisor.d/supervisord.ini
COPY entrypoint.sh entrypoint.sh
ENTRYPOINT [ "./entrypoint.sh" ]
# ENTRYPOINT [ "DISPLAY=:0", "Xephyr", ":1" ]
+6
View File
@@ -0,0 +1,6 @@
#!/sbin/zsh
export WALLPAPERS_PATH=/home/marc/wallpapers
# export DISPLAY=:0
# Xephyr :1 -extension MIT-SHM
/usr/bin/supervisord -c /etc/supervisor.d/supervisord.ini
+59
View File
@@ -0,0 +1,59 @@
[supervisord]
nodaemon=true
; nodaemon=false
; [program:Xephyr]
; command=Xephyr :1 -screen 0 1536x768x24
; autorestart=true
; user=marc
; priority=1
; [program:startx]
; command=startx
; autorestart=true
; priority=1
[program:picom]
command=zsh -c "sleep 5 && picom -b"
user=marc
autorestart=true
priority=2
; [program:x11vnc]
; command=/usr/bin/x11vnc
; autorestart=true
; user=marc
; 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 sh -c "picom -b"
user=marc
priority=5