Explorar o código

Merge pull request #22394 from SvenDowideit/use-docs-base-oss

convert docs Dockerfiles to use docs/base:oss
(cherry picked from commit 1c0edf6c3953d0f298d3dc1ec19f71f0b3b57b19)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sven Dowideit %!s(int64=9) %!d(string=hai) anos
pai
achega
7abc60a93b
Modificáronse 1 ficheiros con 2 adicións e 11 borrados
  1. 2 11
      docs/Dockerfile

+ 2 - 11
docs/Dockerfile

@@ -1,17 +1,8 @@
-FROM docs/base:latest
+FROM docs/base:oss
 MAINTAINER Mary Anthony <mary@docker.com> (@moxiegirl)
 MAINTAINER Mary Anthony <mary@docker.com> (@moxiegirl)
 
 
-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
-RUN svn checkout https://github.com/docker/machine/trunk/docs /docs/content/machine
-RUN svn checkout https://github.com/docker/distribution/trunk/docs /docs/content/registry
-RUN svn checkout https://github.com/docker/notary/trunk/docs /docs/content/notary
-RUN svn checkout https://github.com/docker/kitematic/trunk/docs /docs/content/kitematic
-RUN svn checkout https://github.com/docker/toolbox/trunk/docs /docs/content/toolbox
-RUN svn checkout https://github.com/docker/opensource/trunk/docs /docs/content/opensource
-
 ENV PROJECT=engine
 ENV PROJECT=engine
 # To get the git info for this repo
 # To get the git info for this repo
 COPY . /src
 COPY . /src
-
+RUN rm -r /docs/content/$PROJECT/
 COPY . /docs/content/$PROJECT/
 COPY . /docs/content/$PROJECT/