فهرست منبع

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

convert docs Dockerfiles to use docs/base:oss
Sven Dowideit 9 سال پیش
والد
کامیت
c1c8c70800
1فایلهای تغییر یافته به همراه2 افزوده شده و 12 حذف شده
  1. 2 12
      docs/Dockerfile

+ 2 - 12
docs/Dockerfile

@@ -1,18 +1,8 @@
-FROM docs/base:latest
+FROM docs/base:oss
 MAINTAINER Mary Anthony <[email protected]> (@moxiegirl)
 
-RUN svn checkout https://github.com/docker/docker/trunk/docs /docs/content/engine
-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/project
-
-
 ENV PROJECT=compose
 # To get the git info for this repo
 COPY . /src
-
+RUN rm -r /docs/content/$PROJECT/
 COPY . /docs/content/$PROJECT/