Docker Community Forums

Share and learn in the Docker community.

How to use github code in docker

(Rafiqul) #1

I am here to ask a novice question please bear with me.

I have provided codes saved in github and advised to create a build to run in docker.

Could anyone please give an idea what to do indeed? please assume its set of jsp and java class file.


(Ranjandas) #2


You should learn to write Dockerfile if you haven’t already. You can get many example projects where Dockerfile has projects being cloned from github and used.


(Rafiqul) #3

Thanks ranjandas for your reply.

Could you please give me one example link? I would be grateful.


(Ranjandas) #4


The links given below can help you. Although those are discussing examples around Rails applications you can modify those to fit your needs.


(Rafiqul) #5

Thanks. I will go through it.

thanks very much again.

(Rafiqul) #6

Das, that was really useful!! thanks.