From 7f13b9d6a864bd160320b4c00be1ff2b9682bdb2 Mon Sep 17 00:00:00 2001 From: ryneeverett Date: Fri, 26 Jul 2024 17:21:05 -0400 Subject: [PATCH] Container: Use named volume for ccache. I don't think there's any reason to want a named path here. --- Container/run-image-docker.sh | 4 ++-- Container/run-image-podman.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) mode change 100644 => 100755 Container/run-image-podman.sh diff --git a/Container/run-image-docker.sh b/Container/run-image-docker.sh index 401e6bd3..8d71b285 100644 --- a/Container/run-image-docker.sh +++ b/Container/run-image-docker.sh @@ -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 diff --git a/Container/run-image-podman.sh b/Container/run-image-podman.sh old mode 100644 new mode 100755 index addb724a..53884977 --- a/Container/run-image-podman.sh +++ b/Container/run-image-podman.sh @@ -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