Skip to content

Commit

Permalink
container: Fix variable globbing in run script
Browse files Browse the repository at this point in the history
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"
  • Loading branch information
rlenferink committed Jan 7, 2024
1 parent 99e9b7b commit 171db15
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions container/run-ubuntu-container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

0 comments on commit 171db15

Please sign in to comment.