add cachyos containers

This commit is contained in:
Anders Rytter Hansen 2023-11-05 15:02:16 +01:00
commit 31fb5991ff
7 changed files with 444 additions and 0 deletions

View file

@ -0,0 +1,10 @@
FROM ghcr.io/andersrh/containers/cachyos/base-gui
WORKDIR /app
USER build
RUN git clone https://aur.archlinux.org/tradingview.git \
&& cd tradingview \
&& makepkg -si --noconfirm \
&& rm -rf /app/*
USER root

View file

@ -0,0 +1,8 @@
#!/bin/sh
APPNAME="tradingview"
podman build -t andersrh/cachyos/$APPNAME -f Dockerfile .
podman rm -f $APPNAME
distrobox create --image ghcr.io/andersrh/containers/cachyos/$APPNAME --home ~/containers/$APPNAME/ $APPNAME
distrobox enter $APPNAME -- distrobox-export --app $APPNAME --extra-flags "--enable-features=WaylandWindowDecorations --ozone-platform=wayland"