Files
docker-docs/docs/Dockerfile
Mary Anthony 607d585adb Updating the Introduction
- Clarifying two types of install
- Splitting out release notes
- Splitting out two install methods
- Adding in comments from review
- Adding release notes
- Updating with abronan's comments
- Updating for vieux
- Updating with comments and pulling bash

Signed-off-by: Mary Anthony <mary@docker.com>
2015-05-31 20:13:24 -07:00

20 lines
540 B
Docker

FROM docs/base:latest
MAINTAINER Mary <mary@docker.com> (@moxiegirl)
# to get the git info for this repo
COPY . /src
# Reset the /docs dir so we can replace the theme meta with the new repo's git info
# RUN git reset --hard
RUN grep "VERSION =" /src/version/version.go | sed 's/.*"\(.*\)".*/\1/' > /docs/VERSION
COPY * /docs/sources/swarm/
COPY scheduler/* /docs/sources/swarm/scheduler/
COPY api/* /docs/sources/swarm/api/
COPY mkdocs.yml /docs/mkdocs-swarm.yml
# Then build everything together, ready for mkdocs
RUN /docs/build.sh