From e54ac640f1d3f7071a48032e924b04529cbd358f Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Thu, 31 Aug 2023 21:00:30 +0200 Subject: Initial commit --- buildsetup.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 buildsetup.sh (limited to 'buildsetup.sh') diff --git a/buildsetup.sh b/buildsetup.sh new file mode 100755 index 0000000..184bbef --- /dev/null +++ b/buildsetup.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +podman machine start +ssh -i ~/.ssh/podman-machine-default -R 10000:$(hostname):22 -p $(podman machine --log-level=debug ssh -- exit 2>&1 | grep Executing | awk {'print $8'}) core@localhost sshfs -p 10000 $USER@127.0.0.1:/Volumes/Projects /mnt/Projects& +sleep 10 +podman create -t --name blocks-build -v /mnt/Projects/blocks:/blocks fedora +podman start blocks-build +podman exec blocks-build dnf install -y python3 python3-pip binutils +podman exec blocks-build pip install pyinstaller pygame +podman stop blocks-build +podman machine stop -- cgit