Open lovato opened 5 years ago
That particular container, which I use on bitbucket, works perfectly nice there. But when running locally, I got an error.
Why? Because there is a mandatory entrypoint which runs and fails, perhaps because it is not inside Pipelines.
Solution: remove entrypoint on bbrun ... I am not sure if this has side effects, but by doing that, my problem was gone.
docker.js : 36 :run --rm -P --entrypoint="" -v ${pwd()}:${workDir} -w ${workDir} ${image} bash ${BUILD_SCRIPT};
:
;
I had another issue the very same way about proxy... what about to add a way to pass custom parameters to docker invocation?
That particular container, which I use on bitbucket, works perfectly nice there. But when running locally, I got an error.
Why? Because there is a mandatory entrypoint which runs and fails, perhaps because it is not inside Pipelines.
Solution: remove entrypoint on bbrun ... I am not sure if this has side effects, but by doing that, my problem was gone.
docker.js : 36
:
run --rm -P --entrypoint="" -v ${pwd()}:${workDir} -w ${workDir} ${image} bash ${BUILD_SCRIPT};