mserranom / bbrun

Run Bitbucket Pipelines locally
MIT License
208 stars 31 forks source link

Using atlassian/pipelines-awscli generates an error #43

Open lovato opened 5 years ago

lovato commented 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};

lovato commented 5 years ago

I had another issue the very same way about proxy... what about to add a way to pass custom parameters to docker invocation?