Procházet zdrojové kódy

Re-order docs Makefile for better caching.

Signed-off-by: Daniel Nephin <[email protected]>
Daniel Nephin před 10 roky
rodič
revize
94e6727831
1 změnil soubory, kde provedl 4 přidání a 5 odebrání
  1. 4 5
      docs/Dockerfile

+ 4 - 5
docs/Dockerfile

@@ -1,11 +1,6 @@
 FROM docs/base:latest
 MAINTAINER Mary Anthony <[email protected]> (@moxiegirl)
 
-# To get the git info for this repo
-COPY . /src
-
-COPY . /docs/content/compose/
-
 RUN svn checkout https://github.com/docker/docker/trunk/docs /docs/content/docker
 RUN svn checkout https://github.com/docker/swarm/trunk/docs /docs/content/swarm
 RUN svn checkout https://github.com/docker/machine/trunk/docs /docs/content/machine
@@ -13,6 +8,10 @@ RUN svn checkout https://github.com/docker/distribution/trunk/docs /docs/content
 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
 
+# To get the git info for this repo
+COPY . /src
+
+COPY . /docs/content/compose/
 
 # Sed to process GitHub Markdown
 # 1-2 Remove comment code from metadata block