This repository holds Dockerfiles of official AWS CodeBuild curated Docker images. Please refer to the AWS CodeBuild User Guide for list of environments supported by AWS CodeBuild.
The master branch will sometimes have changes that are still in the process of being released in AWS CodeBuild. See the latest released versions of the Dockerfiles .
Steps to build Ruby 2.3.1 image
- Run
git clone https://github.com/aws/aws-codebuild-docker-images.git
to download this repository to your local machine - Run
cd ubuntu/ruby/2.3.1
to change the directory in your local workspace. This is the location of the Ruby 2.3.1 Dockerfile with Ubuntu 14.04 base. - Run
docker build -t aws/codebuild/ruby:2.3.1 .
to build Docker image locally
To poke around in the image interactively, build it and run:
docker run -it --entrypoint sh aws/codebuild/ruby:2.3.1 -c bash
To let the Docker daemon start up in the container, build it and run:
docker run -it --privileged aws/codebuild/ruby:2.3.1 bash
$ git clone https://github.com/aws/aws-codebuild-docker-images.git
$ cd aws-codebuild-docker-images
$ cd ubuntu/ruby/2.3.1
$ docker build -t aws/codebuild/ruby:2.3.1 .
$ docker run -it --entrypoint sh aws/codebuild/ruby:2.3.1 -c bash
Some of the images in this repository are no longer actively maintained by AWS CodeBuild and may no longer build successfully. These images will not receive any further updates. They remain in this repository as a reference for the contents of these images that were previously released by CodeBuild.
The following images are actively maintained by AWS CodeBuild, and are listed in the CodeBuild console.
- android-java-8 24.4.1
- android-java-8 26.1.1
- docker 17.09.0
- dot-net core-1
- dot-net core-2.1
- dot-net core-2
- golang 1.10
- java openjdk-8
- java openjdk-9
- nodejs 10.1.0
- nodejs 6.3.1
- nodejs 8.11.0
- php 5.6
- php 7.0
- python 2.7.12
- python 3.3.6
- python 3.4.5
- python 3.5.2
- python 3.6.5
- ruby 2.2.5
- ruby 2.3.1
- ruby 2.5.1
- ubuntu-base 14.04