redixin
(Redixin)
October 27, 2014, 1:36pm
1
Is this possible to use any other repo for automatic builds?
Something like
clone url: git://my.gitserver.com/myrepo.git
build trigger: https://registry.hub.docker.com/u/foo/bar/trigger/de78-5ddb-11e4-899f-4a478e3f/
and when I doing request on build trigger url, it clones from clone url and makes build?
rufus
(Andy Rothfusz)
October 27, 2014, 10:30pm
2
Yes, you could do this. You would still need to put the base Dockerfile
in either GitHub or Bitbucket. But in the Dockerfile
you could install git and clone from other repositories.
rallyforge
(Rallyforge)
October 31, 2014, 9:54am
3
But in this case Dockerfile is still on github.
so long as your Dockerfile is on GitHub or Bitbucket (as you indicate it is), you can write a Dockerfile like:
FROM ubuntu
RUN apt-get update && apt-get install git
RUN git clone git://my.gitserver.com/myrepo.git
WORKDIR /myrepo
RUN make
redixin
(Redixin)
November 5, 2014, 2:36pm
5
See the post above
omg post must be at least 20 characters