Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6ab8c54902 | ||
|
|
ce70845eac |
@@ -1,7 +1,5 @@
|
||||
liberapay: marcpartensky
|
||||
patreon: marcpartensky
|
||||
github: marcpartensky
|
||||
custom:
|
||||
# - monero:43J2XmRtjDPRLD35UsYGH2AZamFBQz7dt4VdvZXVm3SuadTrvcoXUXBRUNHqukFte23Q5TWXqhbwaLJJgoVQzzbe2AJDANQ
|
||||
- https://paypal.me/marcpartensky
|
||||
- https://buymeacoffee.com/marcpartensky
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user