Adding support for GITHUB IGNORES to the engine Dockerfile

Signed-off-by: Mary Anthony <mary@docker.com>
This commit is contained in:
Mary Anthony 2015-04-30 15:21:05 -07:00
parent 72e9e12fa0
commit 51977a2307
1 changed files with 9 additions and 2 deletions

View File

@ -9,7 +9,7 @@ MAINTAINER Sven Dowideit <SvenDowideit@docker.com> (@SvenDowideit)
ENV COMPOSE_BRANCH release ENV COMPOSE_BRANCH release
ENV SWARM_BRANCH v0.2.0 ENV SWARM_BRANCH v0.2.0
ENV MACHINE_BRANCH master ENV MACHINE_BRANCH master
ENV DISTRIB_BRANCH release/2.0 ENV DISTRIB_BRANCH docs
# TODO: need the full repo source to get the git version info # 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
RUN sed -i.old '1s;^;no_version_dropdown: true;' \ RUN sed -i.old '1s;^;no_version_dropdown: true;' \
/docs/sources/registry/*.md \ /docs/sources/registry/*.md \
/docs/sources/registry/spec/*.md \ /docs/sources/registry/spec/*.md \
/docs/sources/registry/spec/auth/*.md /docs/sources/registry/spec/auth/*.md \
/docs/sources/registry/storage-drivers/*.md
RUN sed -i.old -e '/^<!--GITHUB/g' -e '/^IGNORES-->/g'\
/docs/sources/registry/*.md \
/docs/sources/registry/spec/*.md \
/docs/sources/registry/spec/auth/*.md \
/docs/sources/registry/storage-drivers/*.md
####################### #######################
# Docker Swarm # Docker Swarm