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
fi
podman run --dns 127.0.0.53 --rm -v "$(pwd):$(pwd)" -w "$(pwd)" --network host localhost/fdroid:cli $@
podman run --dns 127.0.0.53 --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 127.0.0.53 --rm --security-opt=no-new-privileges -it -v "${CACHE_DIR}:/go" -v "$(pwd):$(pwd)" -w "$(pwd)" --network host docker.io/library/golang:latest go $@
podman run --dns 127.0.0.53 --rm --security-opt=no-new-privileges -it -v "${CACHE_DIR}:/go:z" -v "$(pwd):$(pwd):z" -w "$(pwd)" --network host docker.io/library/golang:latest 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 127.0.0.53 --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 docker.io/library/node:latest $@
podman run --dns 127.0.0.53 --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 docker.io/library/node:latest $@
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