Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6ab8c54902 | ||
|
|
ce70845eac | ||
|
|
5f2037f4e1 | ||
|
|
2e5f3cfefa | ||
|
|
b8efe0e1ae | ||
|
|
422390e7ae | ||
|
|
1157533056 | ||
|
|
6e071f2eb2 | ||
|
|
a104ce0722 | ||
|
|
e75fd3a743 | ||
|
|
cfbee45c9a |
@@ -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,4 +1,4 @@
|
||||
name: Build all then push
|
||||
name: Docker
|
||||
|
||||
on:
|
||||
schedule:
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -47,6 +47,14 @@ services:
|
||||
build:
|
||||
context: parabola
|
||||
|
||||
openrc:
|
||||
image: marcpartensky/arch:openrc
|
||||
build:
|
||||
context: openrc
|
||||
ports:
|
||||
- "18080:8080"
|
||||
- "15900:5900"
|
||||
|
||||
volumes:
|
||||
arch_pacman:
|
||||
arch_home:
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
FROM marcpartensky/arch:xorg
|
||||
LABEL maintainer=<marc.partensky@gmail.com>
|
||||
|
||||
USER marc
|
||||
EXPOSE 5900 8080
|
||||
ENV DISPLAY=:0.0
|
||||
|
||||
# Install packages
|
||||
RUN paru -Syyyu --noconfirm \
|
||||
# xorg-server required for xdummy
|
||||
openrc \
|
||||
xorg-server \
|
||||
# xorg-server-utils \
|
||||
xorg-server-xvfb \
|
||||
# xf86-video-dummy \
|
||||
tigervnc \
|
||||
novnc \
|
||||
cron \
|
||||
ttf-meslo-nerd-font-powerlevel10k
|
||||
|
||||
USER root
|
||||
COPY crontab.txt /var/spool/cron/marc
|
||||
RUN chmod 600 /var/spool/cron/marc
|
||||
|
||||
USER marc
|
||||
COPY entrypoint.sh /opt/arch/
|
||||
ENTRYPOINT [ "/opt/arch/entrypoint.sh" ]
|
||||
@@ -0,0 +1 @@
|
||||
* * * * * /home/marc/.local/bin/wpp -n
|
||||
Executable
+4
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
export WALLPAPERS_PATH=/home/marc/wallpapers
|
||||
/sbin/init --user
|
||||
+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