Demo: Building and Validating Changes in Our Local Environment
Learn how to create CodeBuild in our local environment.
Developers might wish to test their modifications on their local device before allowing AWS CodeBuild to compile the source code and produce output artifacts.
Locally utilizing CodeBuild
AWS CodeBuild allows recreating the same environment in the developer’s local machine so that they can validate the changes before submitting them to AWS. The first step is downloading the Docker image from the GitHub repository, as shown below.
Downloading the AWS CodeBuild Docker image
Once the package is downloaded, it creates a new directory, aws-codebuild-docker-images
. The image comes prepackaged with three versions of the image, and we chose to install the most recent one.
Get hands-on with 1200+ tech skills courses.