Forked from aws/aws-codebuild-docker-images
1.2K
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.
Steps to build Ruby-2.3.1 image
git clone https://github.com/aws/aws-codebuild-docker-images.git to download this repository to your local machinecd ubuntu/ruby/2.3.1 to change the directory in your local workspace. This is the location of Ruby-2.3.1 Dockerfile with Ubuntu base.docker build -t aws/codebuild/ruby-2.3.1 . to build Docker image locallydocker run -ti aws/codebuild/ruby-2.3.1 bash to start container running bash shell with the ruby-2.3.1 image.$ 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 .
Content type
Image
Digest
Size
401.6 MB
Last updated
over 8 years ago
docker pull yyolk/aws-codebuild-java:openjdk-7