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

From ESS-WIKI
Jump to: navigation, search
Line 1: Line 1:
"mqtt-bus" for a example
+
Example: "mqtt-bus" 
  
Project of iGW Docker Image for x86 platform GitHub: [https://github.com/ADVANTECH-Corp ADVANTECH-Corp]/'''[https://github.com/ADVANTECH-Corp/docker-igw-image-x86 docker-igw-image-x86]'''
+
 GitHub: [https://github.com/ADVANTECH-Corp ADVANTECH-Corp]/'''[https://github.com/ADVANTECH-Corp/docker-igw-image-x86 docker-igw-image-x86]'''
 +
<pre>''0. Prepare your Dockerfile for your application''
  
'''1.1 Prepare your Dockerfile for your application & i''''''ntegrate into our GitHub docker-igw-image-x86'''
+
git clone https://github.com/ADVANTECH-Corp/docker-igw-image-x86.git'''
<pre>git clone https://github.com/ADVANTECH-Corp/docker-igw-image-x86.git'''
 
  
 
git branch mqtt-bus'''
 
git branch mqtt-bus'''
Line 22: Line 22:
 
'''2.1 Create a auto build project on Docker Hub with GitHub'''
 
'''2.1 Create a auto build project on Docker Hub with GitHub'''
  
&nbsp;Switch&nbsp;
+
&nbsp;Switch to "advigw4x86&nbsp;
 +
 
 +
[[File:Advigw4x86 DockerHub GitHub dev1.jpg|1500x550px]]

Revision as of 11:00, 29 November 2016

Example: "mqtt-bus" 

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

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

git clone https://github.com/ADVANTECH-Corp/docker-igw-image-x86.git'''

git branch mqtt-bus'''

git check mqtt-bus'''

cp your Dockerfile into this folder'''

git add Dockerfile'''

git commit -am "Dockerfile for mqtt-bus"'''

git push -u origin mqtt-bus'''


2.1 Create a auto build project on Docker Hub with GitHub

 Switch to "advigw4x86 

Advigw4x86 DockerHub GitHub dev1.jpg