Dockerfile 995 B

12345678910111213141516171819202122232425
  1. FROM docs/base:latest
  2. MAINTAINER Mary Anthony <[email protected]> (@moxiegirl)
  3. RUN svn checkout https://github.com/docker/docker/trunk/docs /docs/content/docker
  4. RUN svn checkout https://github.com/docker/swarm/trunk/docs /docs/content/swarm
  5. RUN svn checkout https://github.com/docker/machine/trunk/docs /docs/content/machine
  6. RUN svn checkout https://github.com/docker/distribution/trunk/docs /docs/content/registry
  7. RUN svn checkout https://github.com/docker/tutorials/trunk/docs /docs/content/tutorials
  8. RUN svn checkout https://github.com/docker/opensource/trunk/docs /docs/content
  9. # To get the git info for this repo
  10. COPY . /src
  11. COPY . /docs/content/compose/
  12. # Sed to process GitHub Markdown
  13. # 1-2 Remove comment code from metadata block
  14. # 3 Change ](/word to ](/project/ in links
  15. # 4 Change ](word.md) to ](/project/word)
  16. # 5 Remove .md extension from link text
  17. # 6 Change ](../ to ](/project/word)
  18. # 7 Change ](../../ to ](/project/ --> not implemented
  19. #
  20. #
  21. RUN /src/pre-process.sh /docs