Docker samples for CodeBuild - AWS CodeBuild

Docker samples for CodeBuild

This section describes sample integrations between Docker and AWS CodeBuild.

Sample Description

Docker in custom image sample for CodeBuild

This sample builds and runs a Docker image by using CodeBuild and a custom Docker build image (docker:dind in Docker Hub).

'Publish Docker image to an Amazon ECR image repository' sample for CodeBuild

This sample produces as build output a Docker image and then pushes the Docker image to an Amazon Elastic Container Registry (Amazon ECR) image repository.

Private registry with AWS Secrets Manager sample for CodeBuild

This sample shows you how to use a Docker image that is stored in a private registry as your CodeBuild runtime environment.