You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by rl...@apache.org on 2025/01/12 12:11:35 UTC
(celix) 01/01: Remove unneeded SELinux relabel for Celix repo root volume mount
This is an automated email from the ASF dual-hosted git repository.
rlenferink pushed a commit to branch cleanup/remove-unneeded-selinux-relabel
in repository https://gitbox.apache.org/repos/asf/celix.git
commit c787df89f8467ba87cc4f84b3046c601bb12cde4
Author: Roy Lenferink <le...@gmail.com>
AuthorDate: Sun Jan 12 12:11:15 2025 +0000
Remove unneeded SELinux relabel for Celix repo root volume mount
The relabel is not needed since the '--security-opt label=disable' option is already passed when starting the container
---
.devcontainer/run-devcontainer.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.devcontainer/run-devcontainer.sh b/.devcontainer/run-devcontainer.sh
index 9c36d9a3e..23e2af68f 100755
--- a/.devcontainer/run-devcontainer.sh
+++ b/.devcontainer/run-devcontainer.sh
@@ -118,7 +118,7 @@ ${CONTAINER_ENGINE} run -it --rm --privileged -d \
--userns=keep-id \
--net=host \
${ADDITIONAL_ARGS} \
- --volume "${CELIX_REPO_ROOT}":${CELIX_CONTAINER_ROOT}:Z \
+ --volume "${CELIX_REPO_ROOT}":${CELIX_CONTAINER_ROOT} \
--workdir "${CELIX_CONTAINER_ROOT}" \
--security-opt label=disable \
apache/celix-conan-dev:latest bash -c "${CONTAINER_COMMAND}"