File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -306,15 +306,17 @@ done
306
306
if [[ $# -ge 1 ]]; then
307
307
log_yellow " Running the given commands '" " ${@: 1} " " ' in the container."
308
308
readonly commands=(" ${@: 1} " )
309
+ echo docker run " ${docker_flags[@]} " " ${TRAMPOLINE_IMAGE} " " ${commands[@]} "
310
+ docker run " ${docker_flags[@]} " " ${TRAMPOLINE_IMAGE} " " ${commands[@]} "
309
311
else
310
312
log_yellow " Running the tests in a Docker container."
311
313
# Temporary workaround to remove unnecessary prefix.
312
314
real_build_file=${TRAMPOLINE_BUILD_FILE# " github/python-docs-samples/" }
313
- readonly commands=(" /v/${real_build_file} " )
315
+ docker_flags+=(" --entrypoint=${real_build_file} " )
316
+ echo docker run " ${docker_flags[@]} " " ${TRAMPOLINE_IMAGE} "
317
+ docker run " ${docker_flags[@]} " " ${TRAMPOLINE_IMAGE} "
314
318
fi
315
319
316
- echo docker run " ${docker_flags[@]} " " ${TRAMPOLINE_IMAGE} " " ${commands[@]} "
317
- docker run " ${docker_flags[@]} " " ${TRAMPOLINE_IMAGE} " " ${commands[@]} "
318
320
319
321
test_retval=$?
320
322
You can’t perform that action at this time.
0 commit comments