From the course: Docker on AWS
Unlock the full course today
Join today to access over 24,900 courses taught by industry experts.
Build the container from CodeCommit
From the course: Docker on AWS
Build the container from CodeCommit
- [Instructor] In order to automate the actual build process, we have to define the steps by which we are going to build an image. Here we had built this one and pushed this one manually initially, but now we want to do this automatically. We still need to know where we want to push it, so we're going to go ahead and capture the image URI, 'cause we need this piece of information, and the little square is here is capture, you could just select and copy and paste. And now we're going to go to our terminal session, and if we do an ls in our directory here, we have a build spec YAML document. This is the important document that we actually have to update. So we can do vi on buildspec.YML. This document describes to the codebuild process exactly how to go about building your environment, and since we're using the version two of the build environment, we also have to define what particular run types we might want in this…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
From app to containerized app3m 40s
-
(Locked)
Create an ECR Registry5m 14s
-
(Locked)
Create a CodeCommit Git repository3m 50s
-
(Locked)
Push the container code to CodeCommit2m 32s
-
(Locked)
Build the container from CodeCommit6m 7s
-
(Locked)
Automate build on new commit3m 15s
-
(Locked)
Challenge: Update a container29s
-
(Locked)
Solution: Commit a code change1m 24s
-
-
-
-
-
-
-