Today, we’re excited to announce local build support in AWS CodeBuild.
Steps to build CodeBuild image locallyRun git clone https://github.com/aws/aws-codebuild-docker-images.git to download this repository to your local machine.
Steps to setup CodeBuild local agentRun the following Docker pull command to download the local CodeBuild agent.
$ git clone https://github.com/karthiksambandam/sample-web-app.gitSteps to use the local agent to build a sample projectLet’s build the sample Java project using the local agent.
Conclusion:In this blog post, I showed you how to quickly set up the CodeBuild local agent to build projects right from your local desktop machine or laptop.