From the course: Docker on AWS

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Solution: Commit a code change

Solution: Commit a code change

From the course: Docker on AWS

Start my 1-month free trial

Solution: Commit a code change

(electronic music) - So in order to build a new container from our code itself, all we have to do is make a change to the underlying CodeCommit repository. So if we go into our host name, git repository, which is up a directory from where we normally are. Host name, is our git repository, do an ls, and you know, we can do something simple, like, change the readme. Vi readme, and I'm not even going to do anything super clever I'm just going to remove a line. Okay, and then wq, :wq. We'll just save that, and then I will add and commit that. Since the files already exist I can just do a git commit -am, so its add and add a message, and that's just minor update. We'll go ahead and git push that, git push. And then if we just want to go jump in to our repositories, and we'll actually look at the code pipeline. Go into the pipeline to see what pipelines are currently running we can see that a commit has just succeeded. So it…

Contents