automated build of docker images, leveraging github


lets learn to automatically build a docker image, using the dockerhub task runner, sourced to a github sources code repository … whose content we manage using the file-centric github client for windows.

image

image

 

We go clean up our github test repositories and create a new one – ready to be integrated with dockerhub’s automated build process.

image

https://github.com/homepw/dockerautomationbuild

 

image

image

image

 

To push the dockerfile, we make windows github client be a client of the github repository:

image

image

to this we add our Dockerfile (so once that this repo is pulled by dockerhub the automated build process of dockerhub can build its image).

image

image

image

Lots of the above needed to be done again, cleanly. But the principles are correct.

We end up with github having pushed the build instructions to the task runner

image

image

finally, we can manually pull and run the image in our linux host, dockerized in azure

image

Advertisements

About home_pw@msn.com

Computer Programmer who often does network administration with focus on security servers. Very strong in Microsoft Azure cloud!
This entry was posted in docker. Bookmark the permalink.