This is the first blog in the series to come, which will help you understand, how you can build a NodeJS REST microservice application Docker image and push it to DockerHub using Oracle Developer Cloud Service. The next blog in the series would focus on deployment of the container we build here to deploy on Oracle Kubernetes Engine on Oracle Cloud infrastructure.
You can read about the overview of the Docker functionality in this blog.
Technology Stack Used
Developer Cloud Service – DevOps Platform
Node.js Version 6 – For microservice development.
Docker – For Build
Docker Hub – Container repository
Setting up the Environment:
Setting up Docker Hub Account:
You should create an account on https://hub.docker.com/. Keep the credentials handy for use in the build configuration section of the blog.
Setting up Developer Cloud Git Repository:
Now login into your Oracle Developer Cloud Service project. And create a Git repository as shown below. You can give a name of your choice to the Git repository. For the purpose of this blog, I am calling it NodeJSDocker. You can copy the Git repository URL and keep it handy for future use.
Setting up Build VM in Developer Cloud:
Now we have to create a VM Template and VM with the Docker software bundle for the execution of the build.
Click on the user drop down on the right hand top of the page. Select “Organization” from the menu. Read the complete article here.
For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.