1 | #!/usr/bin/env bash |
2 | # |
3 | # Test out dev build on Fedora. |
4 | # |
5 | # Usage: |
6 | # test/fedora.sh <function name> |
7 | |
8 | # TODO: We need to mount the Oils repo in here |
9 | # https://gomix.github.io/foss_topics/containers/podman/running_fedora_with_podman.html |
10 | interactive() { |
11 | # First time needs --name? |
12 | |
13 | #sudo podman run -i -t --name fedora fedora |
14 | sudo podman run -i -t fedora |
15 | } |
16 | |
17 | # podman ps -a -- list all |
18 | # podman stop |
19 | |
20 | # hm interactive changes aren't saved, how would we do that? |
21 | |
22 | "$@" |