16 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
10 changed files with 127 additions and 26 deletions
-2
View File
@@ -1,7 +1,5 @@
liberapay: marcpartensky
patreon: marcpartensky
github: marcpartensky
custom:
# - monero:43J2XmRtjDPRLD35UsYGH2AZamFBQz7dt4VdvZXVm3SuadTrvcoXUXBRUNHqukFte23Q5TWXqhbwaLJJgoVQzzbe2AJDANQ
- https://paypal.me/marcpartensky
- https://buymeacoffee.com/marcpartensky
+8 -5
View File
@@ -1,4 +1,4 @@
name: Docker build test
name: Docker
on:
schedule:
@@ -20,12 +20,15 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: docker/setup-qemu-action@v2
- uses: docker/setup-buildx-action@v2
- 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
+9 -6
View File
@@ -1,4 +1,4 @@
name: Docker push
name: Docker
on:
schedule:
@@ -14,15 +14,18 @@ on:
pull_request:
jobs:
buildandpush:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: docker/setup-qemu-action@v2
- uses: docker/setup-buildx-action@v2
- 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
+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
+3 -12
View File
@@ -1,15 +1,6 @@
# Custom environment images
## 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](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)
- [marcpartensky/arch:parabola](https://hub.docker.com/r/marcpartensky/arch:parabola)
+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:
+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