diff --git a/docs/Dockerfile b/docs/Dockerfile index 91e1bf9ddf..b5110e902b 100644 --- a/docs/Dockerfile +++ b/docs/Dockerfile @@ -1,11 +1,6 @@ -FROM docs/base:hugo-github-linking +FROM docs/base:latest MAINTAINER Mary Anthony (@moxiegirl) -# to get the git info for this repo -COPY . /src - -COPY . /docs/content/swarm/ - RUN svn checkout https://github.com/docker/docker/trunk/docs /docs/content/engine RUN svn checkout https://github.com/docker/compose/trunk/docs /docs/content/compose RUN svn checkout https://github.com/docker/machine/trunk/docs /docs/content/machine @@ -13,3 +8,9 @@ RUN svn checkout https://github.com/docker/distribution/trunk/docs /docs/content RUN svn checkout https://github.com/kitematic/kitematic/trunk/docs /docs/content/kitematic RUN svn checkout https://github.com/docker/tutorials/trunk/docs /docs/content/tutorials RUN svn checkout https://github.com/docker/opensource/trunk/docs /docs/content + +ENV PROJECT=swarm +# to get the git info for this repo +COPY . /src + +COPY . /docs/content/$PROJECT/