From the course: Deploying Your AWS Application to the Cloud with Docker
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Reviewing your project's Dockerfile - Amazon Web Services (AWS) Tutorial
From the course: Deploying Your AWS Application to the Cloud with Docker
Reviewing your project's Dockerfile
- [Instructor] The build spec file or build specification file, is the file that brings everything together. Running docker to generate our image, logging into the image registry we created, and safely storing our generated and labeled docker image, when the docker build completes. Let's go over these commands. This file is divided into sections. The install, pre-build, build, and post-build. The install, pre-build, build, and post-build. For install, we only need to install docker. But in here you could also install any tools or compilers that your build process may need to execute. In the pre-build section, is where you would configure those tools and your environment. In this case, we use the AWS tool, which we're going to need for the get-login command. Now we set several environment variables that are needed for the process. During the actual build, we executed docker build command, specifying the URL for our…
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
-
-
-
-
(Locked)
Building your ECR Docker image repository59s
-
(Locked)
Reviewing your project's Dockerfile2m 29s
-
(Locked)
CodeBuild buildspec file1m 43s
-
(Locked)
Creating a CI/CD pipeline for your CodeBuild project5m 29s
-
(Locked)
Setting CodeBuild permissions2m 40s
-
(Locked)
Challenge: CodeBuild external resources37s
-
(Locked)
Solution: Pulling external resources into CodeBuild1m 59s
-
(Locked)
-
-
-