mirror of
https://github.com/andersrh/Podmanfiles.git
synced 2026-05-21 06:18:02 +00:00
12 lines
497 B
Bash
12 lines
497 B
Bash
|
|
#!/bin/sh
|
||
|
|
|
||
|
|
APPNAME="lbry"
|
||
|
|
|
||
|
|
podman build -t andersrh/archlinux/$APPNAME -f Dockerfile .
|
||
|
|
podman rm -f $APPNAME
|
||
|
|
distrobox create --image andersrh/archlinux/$APPNAME --init --home ~/containers/$APPNAME/ $APPNAME
|
||
|
|
distrobox enter $APPNAME -- yay -S --noconfirm lbry-desktop-bin
|
||
|
|
podman commit $APPNAME andersrh/archlinux/$APPNAME
|
||
|
|
podman rm -f $APPNAME
|
||
|
|
distrobox create --image andersrh/archlinux/$APPNAME --home ~/containers/$APPNAME/ $APPNAME
|
||
|
|
distrobox enter $APPNAME -- distrobox-export --app $APPNAME
|