diff options
Diffstat (limited to 'buildsetup.sh')
-rwxr-xr-x | buildsetup.sh | 11 |
1 files changed, 11 insertions, 0 deletions
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 |