Initial commit
This commit is contained in:
commit
689d46699b
6 changed files with 62 additions and 0 deletions
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[submodule "aur-packages"]
|
||||
path = aur-packages
|
||||
url = gitea@git.snrd.eu:SunRed/aur-packages.git
|
32
Dockerfile
Normal file
32
Dockerfile
Normal file
|
@ -0,0 +1,32 @@
|
|||
FROM binhex/arch-base:latest AS build
|
||||
|
||||
COPY ./aur-packages/srcpkgs/cage-vi/ /tmp/cage/
|
||||
|
||||
RUN pacman -Syu --noconfirm base-devel \
|
||||
&& chown -R nobody: /tmp/cage/ \
|
||||
&& source /tmp/cage/PKGBUILD && pacman -Syu --noconfirm ${depends[@]} ${makedepends[@]} \
|
||||
&& runuser -u nobody -- sh -c "cd /tmp/cage/ && makepkg -c --noconfirm"
|
||||
|
||||
FROM binhex/arch-base:latest
|
||||
|
||||
COPY --from=build /tmp/cage/*.pkg.tar.zst /tmp/cage/
|
||||
|
||||
RUN pacman -Syu --noconfirm mesa mesa-libgl wayvnc noto-fonts gnu-free-fonts \
|
||||
&& pacman -U --noconfirm /tmp/cage/*.pkg.tar.zst \
|
||||
&& yes y | pacman -Scc >/dev/null 2>&1 \
|
||||
&& rm -rf /usr/share/man/* /usr/share/doc/* \
|
||||
/var/cache/pacman/pkg/* /var/lib/pacman/sync/* \
|
||||
/tmp/*
|
||||
|
||||
COPY wayvnc.conf /etc/wayvnc/config
|
||||
|
||||
ENV PGID=10000 \
|
||||
PUID=10000 \
|
||||
HOME=/home/user
|
||||
|
||||
RUN useradd -U -u ${PGID} -G users,seat,video,render -d "${HOME}" user \
|
||||
&& mkdir -p /run/user/${PGID} \
|
||||
&& chown user: /run/user/${PGID} \
|
||||
&& chmod 7700 /run/user/${PGID}
|
||||
|
||||
WORKDIR /
|
21
LICENSE.txt
Normal file
21
LICENSE.txt
Normal file
|
@ -0,0 +1,21 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) 2022 SunRed
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
3
README.md
Normal file
3
README.md
Normal file
|
@ -0,0 +1,3 @@
|
|||
# cagevnc
|
||||
|
||||
Cage wayland kiosk packaged with wayvnc for use as a base image
|
1
aur-packages
Submodule
1
aur-packages
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit dd3071719e4ae5c402fc32c02d887d1c9165ed1d
|
2
wayvnc.conf
Normal file
2
wayvnc.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
address=0.0.0.0
|
||||
port=5900
|
Loading…
Reference in a new issue