DivestOS/Container/run-image-podman.sh
ryneeverett 8216403729 Container: Store DivestOS directory in a volume
This essentially serves as a cache of sources because otherwise all the
downloaded source disappears when the container exits.
2024-07-26 22:02:12 +00:00

4 lines
266 B
Bash
Executable File

#!/usr/bin/env bash
mkdir -p $1
podman run -it --rm --user=$(id -un) --workdir="/home/$(id -un)" --entrypoint="/bin/bash" -v $1:/home/$(id -un)/DivestOS/Builds -v divestos_ccache:/home/$(id -un)/.ccache -v divestos_repo:/home/$(id -un)/DivestOS android-build-fedora