Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Do I need my own docker image for CodeBuild environment?

I have a few AWS lambdas written in Go and I'm using serverless framework to deploy it.

Basically, I need nodejs + npm for serverless + Go runtime to build the project.

When I'm creating an AWS CodeBuild project I can choose the environment from the list (nodejs, Go, java, ...) or select a custom docker image.

What is the right wait to create the environment? Creating custom docker image is the only option?

like image 224
Orest Avatar asked Jan 22 '26 23:01

Orest


1 Answers

in aws codebuild it provide managed images like ubuntu and windows images. and you can use your own docker images

i would prefer and suggest to use custom docker images with configuration. in default manage ubuntu image there will be no node and go.

so if you will use custom docker image thn you can manage own preferable version of node and go inside the docker image

like image 135
Harsh Manvar Avatar answered Jan 24 '26 14:01

Harsh Manvar



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!