Dockerfile 996 B

1234567891011121314151617181920212223242526
  1. FROM docs/base:latest
  2. MAINTAINER Mary Anthony <[email protected]> (@moxiegirl)
  3. # To get the git info for this repo
  4. COPY . /src
  5. COPY . /docs/content/compose/
  6. RUN svn checkout https://github.com/docker/docker/trunk/docs /docs/content/docker
  7. RUN svn checkout https://github.com/docker/swarm/trunk/docs /docs/content/swarm
  8. RUN svn checkout https://github.com/docker/machine/trunk/docs /docs/content/machine
  9. RUN svn checkout https://github.com/docker/distribution/trunk/docs /docs/content/registry
  10. RUN svn checkout https://github.com/docker/tutorials/trunk/docs /docs/content/tutorials
  11. RUN svn checkout https://github.com/docker/opensource/trunk/docs /docs/content
  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