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

rlenferink pushed a commit to branch feature/add-build-job-for-dev-container
in repository https://gitbox.apache.org/repos/asf/celix.git

commit 171db15e7cb8ba5a94383603bf99a96b15071451
Author: Roy Lenferink <[email protected]>
AuthorDate: Sun Jan 7 13:28:53 2024 +0100

    container: Fix variable globbing in run script
    
    This allows to execute chained commands. For example:
    ./run-ubuntu-container.sh "mkdir -p build && cd build && 
../container/support-scripts/build-all.sh && make -j"
---
 container/run-ubuntu-container.sh | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/container/run-ubuntu-container.sh 
b/container/run-ubuntu-container.sh
index 2df3dade..998b8c1c 100755
--- a/container/run-ubuntu-container.sh
+++ b/container/run-ubuntu-container.sh
@@ -44,5 +44,4 @@ ${CONTAINER_ENGINE} run -it --rm --privileged \
                         --volume "${CELIX_REPO_ROOT}":"${CELIX_REPO_ROOT}" \
                         --workdir "${CELIX_REPO_ROOT}" \
                         --security-opt label=disable \
-                        apache/celix-dev:ubuntu-latest ${CONTAINER_COMMAND}
-
+                        apache/celix-dev:ubuntu-latest bash -c 
"${CONTAINER_COMMAND}"

Reply via email to