Difference between revisions of "How to create a Auto Build project on DockerHub with GitHub"

From ESS-WIKI
Jump to: navigation, search
Line 4: Line 4:
 
<pre>''0. Prepare your Dockerfile for your application''
 
<pre>''0. Prepare your Dockerfile for your application''
  
git clone https://github.com/ADVANTECH-Corp/docker-igw-image-x86.git'''
+
git clone <span style="color:#FF0000;">https://github.com/ADVANTECH-Corp/docker-igw-image-x86.git</span>
  
git branch mqtt-bus'''
+
git branch <span style="color:#FF0000;">mqtt-bus</span>
  
git check mqtt-bus'''
+
git check <span style="color:#FF0000;">mqtt-bus</span>
  
cp your Dockerfile into this folder'''
+
cp your Dockerfile into this folder
  
git add Dockerfile'''
+
git add Dockerfile
  
git commit -am "Dockerfile for mqtt-bus"'''
+
git commit -am Dockerfile
  
git push -u origin mqtt-bus'''</pre>
+
git push -u origin <span style="color:#FF0000;">mqtt-bus</span></pre>
  
  
Line 24: Line 24:
 
&nbsp;Switch to "advigw4x86&nbsp;
 
&nbsp;Switch to "advigw4x86&nbsp;
  
[[File:Advigw4x86 DockerHub GitHub dev1.jpg|1500x550px]]
+
[[File:Advigw4x86 DockerHub GitHub dev1.jpg|1500x550px|Advigw4x86 DockerHub GitHub dev1.jpg]]

Revision as of 11:04, 29 November 2016

Example: "mqtt-bus" 

 GitHub: ADVANTECH-Corp/docker-igw-image-x86

''0. Prepare your Dockerfile for your application''

git clone <span style="color:#FF0000;">https://github.com/ADVANTECH-Corp/docker-igw-image-x86.git</span>

git branch <span style="color:#FF0000;">mqtt-bus</span>

git check <span style="color:#FF0000;">mqtt-bus</span>

cp your Dockerfile into this folder

git add Dockerfile

git commit -am Dockerfile

git push -u origin <span style="color:#FF0000;">mqtt-bus</span>


2.1 Create a auto build project on Docker Hub with GitHub

 Switch to "advigw4x86 

Advigw4x86 DockerHub GitHub dev1.jpg