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:34 UTC

(celix) branch cleanup/remove-unneeded-selinux-relabel created (now c787df89f)

This is an automated email from the ASF dual-hosted git repository.

rlenferink pushed a change to branch cleanup/remove-unneeded-selinux-relabel
in repository https://gitbox.apache.org/repos/asf/celix.git


      at c787df89f Remove unneeded SELinux relabel for Celix repo root volume mount

This branch includes the following new commits:

     new c787df89f Remove unneeded SELinux relabel for Celix repo root volume mount

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(celix) 01/01: Remove unneeded SELinux relabel for Celix repo root volume mount

Posted by rl...@apache.org.
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}"