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:
ryneeverett 2024-07-26 17:21:05 -04:00 committed by SkewedZeppelin
parent 3827a096da
commit 7f13b9d6a8
2 changed files with 4 additions and 4 deletions

View File

@ -1,3 +1,3 @@
#!/usr/bin/env bash
mkdir -p $1 $2
docker run -it --rm -v $1:/home/$(id -un)/android -v $2:/home/$(id -un)/.ccache android-build-fedora
mkdir -p $1
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
View File

@ -1,3 +1,3 @@
#!/usr/bin/env bash
mkdir -p $1 $2
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
mkdir -p $1
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