1 Commits
Author SHA1 Message Date
marc 7c690e8eb8 ly test 2022-07-24 18:33:58 +02:00
10 changed files with 15 additions and 142 deletions
-39
View File
@@ -1,39 +0,0 @@
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
+2 -12
View File
@@ -1,8 +1,6 @@
name: Docker
on:
schedule:
- cron: "0 4 * * *" # everyday at 4 am
push:
branches:
- master
@@ -26,16 +24,8 @@ jobs:
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
# - name: build all
# run: make buildall
- name: build
run: make build
- name: Login to DockerHub
uses: docker/login-action@v1
with:
-7
View File
@@ -18,13 +18,6 @@ buildparabola: buildbase
buildall: buildbase buildxorg buildvnc buildparabola
updateall:
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 push
push: buildall
docker-compose push
+3 -9
View File
@@ -15,17 +15,11 @@ services:
build:
context: xorg
environment:
DISPLAY: :1
# ipc: host
# privileged: true
user: $USER
# pid: host
DISPLAY: $DISPLAY
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix
- /tmp/.X1-lock:/tmp/.X1-lock
# - /tmp:/tmp
# devices:
# - /dev/dri
devices:
- /dev/dri
vnc:
image: marcpartensky/arch:vnc
+2
View File
@@ -9,6 +9,8 @@ RUN paru -Syyy --noconfirm \
net-tools \
supervisor \
alacritty \
ly \
feh \
x11vnc \
novnc \
cron \
+2 -1
View File
@@ -1,4 +1,5 @@
#!/sbin/zsh
export WALLPAPERS_PATH=/home/marc/wallpapers
/usr/bin/supervisord -c /etc/supervisor.d/supervisord.ini
# /usr/bin/supervisord -c /etc/supervisor.d/supervisord.ini
ly
+4 -1
View File
@@ -8,6 +8,9 @@ autorestart=true
user=marc
priority=1
; [program:ly]
; command=ly
; [program:startx]
; command=startx
; autorestart=true
@@ -20,7 +23,7 @@ autorestart=true
priority=2
[program:x11vnc]
command=/usr/bin/x11vnc
command=/usr/bin/x11vnc -pipeinput
autorestart=true
user=marc
priority=2
+2 -8
View File
@@ -6,7 +6,6 @@ RUN paru -Syyy --noconfirm \
firefox \
picom \
rofi \
feh \
# ttf-menlo-powerline-git \
# ttf-meslo \
ttf-meslo-nerd-font-powerlevel10k \
@@ -14,8 +13,7 @@ RUN paru -Syyy --noconfirm \
xorg-xinit \
xorg-server \
# xorg-server-utils \
# xorg-server-xvfb \
xorg-server-xephyr
xorg-server-xvfb
# dwm build dependencies
@@ -44,8 +42,4 @@ RUN git clone https://github.com/marcpartensky/wallpapers wallpapers
RUN git clone https://github.com/marcpartensky/shell git/shell
RUN make -C git/shell
USER root
COPY entrypoint.sh entrypoint.sh
COPY supervisord.ini /etc/supervisor.d/supervisord.ini
ENTRYPOINT [ "./entrypoint.sh" ]
# ENTRYPOINT [ "DISPLAY=:0", "Xephyr", ":1" ]
ENTRYPOINT [ "alacritty" ]
-6
View File
@@ -1,6 +0,0 @@
#!/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
@@ -1,59 +0,0 @@
[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