mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-10-01 01:35:54 -04:00
Container: Use named volume for ccache.
I don't think there's any reason to want a named path here.
This commit is contained in:
parent
3827a096da
commit
7f13b9d6a8
@ -1,3 +1,3 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
mkdir -p $1 $2
|
mkdir -p $1
|
||||||
docker run -it --rm -v $1:/home/$(id -un)/android -v $2:/home/$(id -un)/.ccache android-build-fedora
|
docker run -it --rm -v $1:/home/$(id -un)/android -v divestos_ccache:/home/$(id -un)/.ccache android-build-fedora
|
||||||
|
4
Container/run-image-podman.sh
Normal file → Executable file
4
Container/run-image-podman.sh
Normal file → Executable file
@ -1,3 +1,3 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
mkdir -p $1 $2
|
mkdir -p $1
|
||||||
podman run -it --rm --user=$(id -un) --workdir="/home/$(id -un)" --entrypoint="/bin/bash" -v $1:/home/$(id -un)/android -v $2:/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)/android -v divestos_ccache:/home/$(id -un)/.ccache android-build-fedora
|
||||||
|
Loading…
Reference in New Issue
Block a user