Browse code

convert docs Dockerfiles to use docs/base:oss

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>

Sven Dowideit authored on 2016/04/28 21:57:13
Showing 1 changed files
... ...
@@ -1,17 +1,8 @@
1
-FROM docs/base:latest
1
+FROM docs/base:oss
2 2
 MAINTAINER Mary Anthony <mary@docker.com> (@moxiegirl)
3 3
 
4
-RUN svn checkout https://github.com/docker/compose/trunk/docs /docs/content/compose
5
-RUN svn checkout https://github.com/docker/swarm/trunk/docs /docs/content/swarm
6
-RUN svn checkout https://github.com/docker/machine/trunk/docs /docs/content/machine
7
-RUN svn checkout https://github.com/docker/distribution/trunk/docs /docs/content/registry
8
-RUN svn checkout https://github.com/docker/notary/trunk/docs /docs/content/notary
9
-RUN svn checkout https://github.com/docker/kitematic/trunk/docs /docs/content/kitematic
10
-RUN svn checkout https://github.com/docker/toolbox/trunk/docs /docs/content/toolbox
11
-RUN svn checkout https://github.com/docker/opensource/trunk/docs /docs/content/opensource
12
-
13 4
 ENV PROJECT=engine
14 5
 # To get the git info for this repo
15 6
 COPY . /src
16
-
7
+RUN rm -r /docs/content/$PROJECT/
17 8
 COPY . /docs/content/$PROJECT/