DEV Community

Discussion on: How to Build Your Docker Images in AWS with Ease

Collapse
 
hemixam profile image
Maxime Hilaire • Edited

Thanks for this article.

I had to add the runtime versions though. I was getting this error: Phase context status code: YAML_FILE_ERROR Message: This build image requires selecting at least one runtime version.
docs.aws.amazon.com/codebuild/late...

This is the current list of supported runtimes: docs.aws.amazon.com/codebuild/late...

I added this snippet and it worked
phases:
install:
runtime-versions:
docker: 18