Verified Commit 893bbe65 authored by Sheogorath's avatar Sheogorath 🏰
Browse files

Add SELinux adjustment to all tools

With rootless podman one still needs to adjust the SELinux contexts.
Therefore, here we go :)
parent a44a4e57
......@@ -30,4 +30,4 @@ EOF
podman run --dns --rm -v "$(pwd):$(pwd)" -w "$(pwd)" --network host localhost/fdroid:cli $@
podman run --dns --rm -v "$(pwd):$(pwd):z" -w "$(pwd)" --network host localhost/fdroid:cli $@
......@@ -4,4 +4,4 @@ CACHE_DIR="${XDG_CACHE_HOME:-$HOME/.cache}/go"
mkdir -p ${XDG_CACHE_HOME:-$HOME/.cache}/go
podman run --dns --rm --security-opt=no-new-privileges -it -v "${CACHE_DIR}:/go" -v "$(pwd):$(pwd)" -w "$(pwd)" --network host go $@
podman run --dns --rm --security-opt=no-new-privileges -it -v "${CACHE_DIR}:/go:z" -v "$(pwd):$(pwd):z" -w "$(pwd)" --network host go $@
......@@ -5,4 +5,4 @@ NPM_CACHE_DIR="${XDG_CACHE_HOME:-$HOME/.cache}/npm"
mkdir -p "${YARN_CACHE_DIR}" "${NPM_CACHE_DIR}"
podman run --dns --security-opt=no-new-privileges --rm -it -e "NPM_CONFIG_CACHE=/npm" -e "YARN_CACHE_FOLDER=/yarn" -v "${NPM_CACHE_DIR}:/npm" -v "${YARN_CACHE_DIR}:/yarn" -v "$(pwd):$(pwd)" -w "$(pwd)" --network host $@
podman run --dns --security-opt=no-new-privileges --rm -it -e "NPM_CONFIG_CACHE=/npm" -e "YARN_CACHE_FOLDER=/yarn" -v "${NPM_CACHE_DIR}:/npm:z" -v "${YARN_CACHE_DIR}:/yarn:z" -v "$(pwd):$(pwd):z" -w "$(pwd)" --network host $@
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment