AWS CodeBuild
User Guide (API Version 2016-10-06)

Docker Images Provided by CodeBuild

AWS CodeBuild manages the following Docker images that are available in the CodeBuild and AWS CodePipeline consoles.


The standard image of the Ubuntu 18.04 platform contains the following programming languages:

Programming language Runtime version
Ruby 2.x
Python 3.x
PHP 7.x
Node 10.x
Java 8
Golang 1.x
.NET Core 2.x
Docker 18.x
Android 28.x

Platform Programming language or framework Runtime version Image identifier Definition
Ubuntu 18.04 (Standard image) aws/codebuild/standard:1.0 ubuntu/standard/1.0
Ubuntu 14.04 (Base image) aws/codebuild/ubuntu-base:14.04 ubuntu/ubuntu-base/14.04
Ubuntu 14.04 Android 26.1.1 aws/codebuild/android-java-8:26.1.1 ubuntu/android-java-8/26.1.1
Ubuntu 14.04 Docker 18.09.0 aws/codebuild/docker:18.09.0 ubuntu/docker/18.09.0
Ubuntu 14.04 Docker 17.09.0 aws/codebuild/docker:17.09.0 ubuntu/docker/17.09.0
Ubuntu 14.04 Golang 1.11 aws/codebuild/golang:1.11 ubuntu/golang/1.11
Ubuntu 14.04 Golang 1.10 aws/codebuild/golang:1.10 ubuntu/golang/1.10
Ubuntu 14.04 Java 11 aws/codebuild/java:openjdk-11 ubuntu/java/openjdk-11
Ubuntu 14.04 Java 9 aws/codebuild/java:openjdk-9 ubuntu/java/openjdk-9
Ubuntu 14.04 Java 8 aws/codebuild/java:openjdk-8 ubuntu/java/openjdk-8
Ubuntu 14.04 Node.js 10.14.1 aws/codebuild/nodejs:10.14.1 ubuntu/nodejs/10.14.1
Ubuntu 14.04 Node.js 8.11.0 aws/codebuild/nodejs:8.11.0 ubuntu/nodejs/8.11.0
Ubuntu 14.04 PHP 7.1 aws/codebuild/php:7.1 ubuntu/php/7.1
Ubuntu 14.04 Python 3.7.1 aws/codebuild/python:3.7.1 ubuntu/python/3.7.1
Ubuntu 14.04 Python 3.6.5 aws/codebuild/python:3.6.5 ubuntu/python/3.6.5
Ubuntu 14.04 Ruby 2.5.3 aws/codebuild/ruby:2.5.3 ubuntu/ruby/2.5.3
Ubuntu 14.04 .NET Core 2.1 aws/codebuild/dot-net:core-2.1 ubuntu/dot-net/core-2.1
Windows Server Core 2016 (Base Image) aws/codebuild/windows-base:1.0

You can use a build specification to install other components (for example, the AWS CLI, Apache Maven, Apache Ant, Mocha, RSpec, or similar) during the install build phase. For more information, see Build Spec Example.

CodeBuild frequently updates the list of Docker images. To get the most current list, do one of the following:

  • In the CodeBuild console, in the Create build project wizard or Edit Build Project page, for Environment image, choose Managed image. Choose from the Operating system, Runtime, and Runtime version drop-down lists. For more information, see Create a Build Project (Console) or Change a Build Project's Settings (Console).

  • For the AWS CLI, run the list-curated-environment-images command:

    aws codebuild list-curated-environment-images
  • For the AWS SDKs, call the ListCuratedEnvironmentImages operation for your target programming language. For more information, see the AWS SDKs and Tools Reference.