mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-05-08 09:25:19 -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
2 changed files with 4 additions and 4 deletions
|
@ -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
4
Container/run-image-podman.sh
Normal file → Executable 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue