24 Commits
Author SHA1 Message Date
marc a8a8f87cbd tmpfs
Docker / build (push) Canceled after 0s
2022-10-23 02:39:36 +02:00
marc 8f772fa4b5 2s stack overflow 2022-10-12 10:38:02 +02:00
marc 13947002d8 waysct is not shipped for arch 2022-10-12 10:28:03 +02:00
marc 2bc3a87cc9 back to marc 2022-10-12 10:17:31 +02:00
marc 22305abf3e mismatch 2022-10-12 10:16:15 +02:00
marc 51cd8d2e09 makefile for waylandvnc 2022-10-12 10:14:51 +02:00
marc c52cc632ed way stuff 2022-10-12 10:13:27 +02:00
marc a3d85abd09 wayvnc 2022-10-02 22:45:17 +02:00
marc 660482c462 wayvnc is back 2022-10-02 22:41:23 +02:00
marc e63dbfdb92 deps 2022-08-21 16:59:58 +02:00
marc 81eb97e895 grim 2022-08-21 15:41:08 +02:00
marc b4816c4467 waylandvnc 2022-08-10 00:37:19 +02:00
marc 37219f4008 waybar 2022-08-10 00:35:09 +02:00
marc a8b6b8364b no wallpaper service needed 2022-08-10 00:34:54 +02:00
marc d3cd6919db waylandvnc 2022-08-10 00:33:03 +02:00
marc f5562a6705 waylandvnc 2022-08-10 00:32:00 +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
14 changed files with 139 additions and 133 deletions
+21 -110
View File
@@ -1,6 +1,8 @@
name: Build all sequentially to test builds
name: Docker
on:
schedule:
- cron: "0 4 * * *" # everyday at 4 am
push:
branches:
- '*' # matches every branch that doesn't contain a '/'
@@ -15,114 +17,23 @@ on:
pull_request:
jobs:
base:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v2
- name: Build and export
uses: docker/build-push-action@v3
with:
context: base
tags: marcpartensky/arch:base
outputs: type=docker,dest=/tmp/base.tar
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: base
path: /tmp/base.tar
xorg:
needs: base
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v2
- name: Download artifact
uses: actions/download-artifact@v3
with:
name: base
path: /tmp
- name: Load image
run: |
docker load --input /tmp/base.tar
docker image ls -a
- name: Build and export
uses: docker/build-push-action@v3
with:
context: xorg
tags: marcpartensky/arch:xorg
outputs: type=docker,dest=/tmp/xorg.tar
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: xorg
path: /tmp/xorg.tar
vnc:
needs: xorg
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v2
- name: Download artifact
uses: actions/download-artifact@v3
with:
name: xorg
path: /tmp
- name: Load image
run: |
docker load --input /tmp/xorg.tar
docker image ls -a
- name: Build and export
uses: docker/build-push-action@v3
with:
context: vnc
tags: marcpartensky/arch:vnc
outputs: type=docker,dest=/tmp/vnc.tar
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: vnc
path: /tmp/vnc.tar
parabola:
needs: xorg
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v2
- name: Download artifact
uses: actions/download-artifact@v3
with:
name: xorg
path: /tmp
- name: Load image
run: |
docker load --input /tmp/xorg.tar
docker image ls -a
- name: Build and export
uses: docker/build-push-action@v3
with:
context: parabola
tags: marcpartensky/arch:parabola
outputs: type=docker,dest=/tmp/parabola.tar
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: parabola
path: /tmp/parabola.tar
- 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
+1 -1
View File
@@ -1,4 +1,4 @@
name: Build all then push
name: Docker
on:
schedule:
+6 -1
View File
@@ -6,6 +6,8 @@ vnc: buildvnc
docker-compose up vnc
parabola: buildparabola
docker-compose up parabola
waylandvnc: buildwaylandvnc
docker-compose up waylandvnc
buildbase:
docker-compose build base
@@ -15,6 +17,8 @@ buildvnc: buildxorg
docker-compose build vnc
buildparabola: buildbase
docker-compose build parabola
buildwaylandvnc: buildxorg
docker-compose build waylandvnc
buildall: buildbase buildxorg buildvnc buildparabola
@@ -24,9 +28,10 @@ updateall:
docker-compose build --no-cache xorg
docker-compose build --no-cache vnc
docker-compose build --no-cache parabola
docker-compose build --no-cache waylandvnc
docker-compose push
push: buildall
docker-compose push
.PHONY: base xorg vnc parabola
.PHONY: base xorg vnc parabola waylandvnc
+17
View File
@@ -42,6 +42,23 @@ services:
- arch_pacman:/var/cache/pacman/pkg
- arch_home:/home/marc
waylandvnc:
image: marcpartensky/arch:waylandvnc
build:
context: waylandvnc
# user: $USER
ports:
- "18080:8080"
- "15900:5900"
tmpfs:
- /tmp
- /run
volumes:
# - /var/run/docker.sock:/var/run/docker.sock
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- arch_pacman:/var/cache/pacman/pkg
- arch_home:/home/marc
parabola:
image: marcpartensky/arch:parabola
build:
+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
+27
View File
@@ -0,0 +1,27 @@
FROM marcpartensky/arch:xorg
LABEL maintainer=<marc.partensky@gmail.com>
USER marc
RUN paru -Syyyu --noconfirm \
hyprland-bin \
hyprpaper-git \
wayvnc \
waybar \
wpaperd \
grim \
wf-recorder \
swappy
RUN go env -w GO111MODULE=off
RUN go get -u github.com/d4l3k/go-sct/cmd/waysct
# waysct, wpaperd
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
+52
View File
@@ -0,0 +1,52 @@
[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:wayvnc]
command=wayvnc
autorestart=true
user=marc
priority=1
[program:hyprland]
command=Hyprland
autorestart=true
user=marc
priority=3
[program:noVNC]
command=/sbin/novnc --vnc localhost:5900 --listen 8080
autorestart=true
user=marc
priority=3
[program:hyprpaper]
command=hyprpaper
autorestart=true
user=marc
priority=4
[program:waybar]
command=waybar
autorestart=true
user=marc
priority=4
[program:cron]
command=crond -f
user=root
priority=5
[program:alacritty]
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