aws-codebuild-docker-images icon indicating copy to clipboard operation
aws-codebuild-docker-images copied to clipboard

Allow custom Entrypoint

Open lifeofguenter opened this issue 6 years ago • 4 comments

It seems that there are some parts missing compared to what is actually running at AWS CodeBuild?

E.g. if I build this image and push to ECR, then DinD does not work. DinD works perfectly fine though when running locally.

Doing a ps -e inside codebuild shows me that PID 1 is:

1 root      0:00 /codebuild/bootstrap/linux-bootstrap -zipName=linux-binaries.zip -url=https://codefactory-eu-west-1-prod-default-build-agent-executor.s3.amazonaws.com/linux-binaries.zip 

meaning the whole entrypoint (including dockerd-entrypoint.sh) are being overridden by codebuild. It seems like the codebuild-boostrapper has either a detection or is relying on something else that is not included in this project to make dind work.

lifeofguenter avatar Sep 16 '19 20:09 lifeofguenter

@lifeofguenter - yes, you are correct, CodeBuild does override the entry point command. We will likely allow this in a future release.

subinataws avatar Sep 17 '19 02:09 subinataws

Hey future googlers! 👋🏻 I don't see any other place to indicate interest in this request, so how about reacting to this comment?

1 🚀 = 1 "please implement this, CodeBuild team 🥺 👉🏻 👈🏻 "

shreve avatar Jun 24 '23 00:06 shreve