diff options
author | RaindropsSys <contact@minteck.org> | 2023-08-31 21:00:30 +0200 |
---|---|---|
committer | RaindropsSys <contact@minteck.org> | 2023-08-31 21:00:30 +0200 |
commit | e54ac640f1d3f7071a48032e924b04529cbd358f (patch) | |
tree | 91efa742451921231e0695a5b5c99a1c4fac19f9 /buildsetup.sh | |
download | blocks-e54ac640f1d3f7071a48032e924b04529cbd358f.tar.gz blocks-e54ac640f1d3f7071a48032e924b04529cbd358f.tar.bz2 blocks-e54ac640f1d3f7071a48032e924b04529cbd358f.zip |
Initial commit
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 |