mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-10-01 01:35:54 -04:00
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.
This commit is contained in:
parent
0408730f50
commit
8216403729
@ -1,3 +1,3 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
mkdir -p $1
|
mkdir -p $1
|
||||||
docker run -it --rm -v $1:/home/$(id -un)/DivestOS/Builds -v divestos_ccache:/home/$(id -un)/.ccache android-build-fedora
|
docker run -it --rm -v $1:/home/$(id -un)/DivestOS/Builds -v divestos_ccache:/home/$(id -un)/.ccache -v divestos_repo:/home/$(id -un)/DivestOS android-build-fedora
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
mkdir -p $1
|
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 android-build-fedora
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user