Browse code

Adding support for GITHUB IGNORES to the engine Dockerfile

Signed-off-by: Mary Anthony <mary@docker.com>

Mary Anthony authored on 2015/05/01 07:21:05
Showing 1 changed files
... ...
@@ -9,7 +9,7 @@ MAINTAINER Sven Dowideit <SvenDowideit@docker.com> (@SvenDowideit)
9 9
 ENV COMPOSE_BRANCH release
10 10
 ENV SWARM_BRANCH v0.2.0
11 11
 ENV MACHINE_BRANCH master
12
-ENV DISTRIB_BRANCH release/2.0
12
+ENV DISTRIB_BRANCH docs
13 13
 
14 14
 
15 15
 # TODO: need the full repo source to get the git version info
... ...
@@ -61,7 +61,14 @@ ADD https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs
61 61
 RUN sed -i.old '1s;^;no_version_dropdown: true;' \
62 62
   /docs/sources/registry/*.md \
63 63
   /docs/sources/registry/spec/*.md \
64
-  /docs/sources/registry/spec/auth/*.md
64
+  /docs/sources/registry/spec/auth/*.md \
65
+  /docs/sources/registry/storage-drivers/*.md 
66
+
67
+RUN sed -i.old  -e '/^<!--GITHUB/g' -e '/^IGNORES-->/g'\
68
+  /docs/sources/registry/*.md \
69
+  /docs/sources/registry/spec/*.md \
70
+  /docs/sources/registry/spec/auth/*.md \
71
+  /docs/sources/registry/storage-drivers/*.md 
65 72
 
66 73
 #######################
67 74
 # Docker Swarm