mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
8b09f8a302
Adding in a link about the deprecated material Fixing bad link to staging Signed-off-by: Mary Anthony <mary@docker.com>
29 lines
No EOL
1.1 KiB
Docker
29 lines
No EOL
1.1 KiB
Docker
FROM docs/base:latest
|
|
MAINTAINER Mary Anthony <mary@docker.com> (@moxiegirl)
|
|
|
|
# To get the git info for this repo
|
|
COPY . /src
|
|
|
|
COPY . /docs/content/
|
|
|
|
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/kitematic/kitematic/trunk/docs /docs/content/kitematic
|
|
RUN svn checkout https://github.com/docker/tutorials/trunk/docs /docs/content/
|
|
RUN svn checkout https://github.com/docker/opensource/trunk/docs /docs/content/opensource
|
|
|
|
|
|
|
|
|
|
# Sed to process GitHub Markdown
|
|
# 1-2 Remove comment code from metadata block
|
|
# 3 Change ](/word to ](/project/ in links
|
|
# 4 Change ](word.md) to ](/project/word)
|
|
# 5 Remove .md extension from link text
|
|
# 6 Change ](../ to ](/project/word)
|
|
# 7 Change ](../../ to ](/project/ --> not implemented
|
|
#
|
|
#
|
|
RUN /src/pre-process.sh /docs |