diff --git a/Dockerfile b/Dockerfile index 48efc85205..f78487068d 100644 --- a/Dockerfile +++ b/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/docker-trusted-registry - 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/swarm/trunk/docs /docs/content/swarm @@ -16,3 +11,10 @@ RUN svn checkout https://github.com/docker/tutorials/trunk/docs/mac /docs/conten RUN svn checkout https://github.com/docker/tutorials/trunk/docs/windows /docs/content/windows RUN svn checkout https://github.com/docker/tutorials/trunk/docs/linux /docs/content/linux RUN svn checkout https://github.com/docker/opensource/trunk/docs /docs/content/opensource + +ENV PROJECT=docker-trusted-registry +# To get the git info for this repo +COPY . /src + +COPY . /docs/content/$PROJECT/ +