Use caching for all other repositories, instead
of doing a svn checkout each time.
This may result in showing outdated docs
for other repositories, but --no-cache can be
used if the latest docs are needed.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
| ... | ... |
@@ -1,11 +1,6 @@ |
| 1 | 1 |
FROM docs/base:hugo-github-linking |
| 2 | 2 |
MAINTAINER Mary Anthony <mary@docker.com> (@moxiegirl) |
| 3 | 3 |
|
| 4 |
-# To get the git info for this repo |
|
| 5 |
-COPY . /src |
|
| 6 |
- |
|
| 7 |
-COPY . /docs/content/engine |
|
| 8 |
- |
|
| 9 | 4 |
RUN svn checkout https://github.com/docker/compose/trunk/docs /docs/content/compose |
| 10 | 5 |
RUN svn checkout https://github.com/docker/swarm/trunk/docs /docs/content/swarm |
| 11 | 6 |
RUN svn checkout https://github.com/docker/machine/trunk/docs /docs/content/machine |
| ... | ... |
@@ -14,3 +9,7 @@ RUN svn checkout https://github.com/kitematic/kitematic/trunk/docs /docs/content |
| 14 | 14 |
RUN svn checkout https://github.com/docker/tutorials/trunk/docs /docs/content/ |
| 15 | 15 |
RUN svn checkout https://github.com/docker/opensource/trunk/docs /docs/content/opensource |
| 16 | 16 |
|
| 17 |
+# To get the git info for this repo |
|
| 18 |
+COPY . /src |
|
| 19 |
+ |
|
| 20 |
+COPY . /docs/content/engine |