Posted On: Jul 9, 2019
AWS CodeBuild now supports polyglot builds in CodeBuild’s managed images. Previously, you could only specify a single programming language runtime in these CodeBuild managed images. In order to perform a polyglot build, you either had to rely on a self-managed build images with various runtimes pre-installed or you had to install these additional runtimes inline in your buildspec.
Now, you can simply specify one or more programming language versions in your buildspec for your build needs. This is made possible by a concept called "runtime-versions". With runtime-versions, you can also specify which major version of the runtime should be enabled for your builds.