Kir Kolyshkin 20a34a2802 Dockerfile: fix apk command
1. It does not make sense to run apk many times.

2. Use --no-cache flag to avoid doing update, as per
   https://github.com/gliderlabs/docker-alpine/blob/master/docs/usage.md#disabling-cache

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2018-03-02 13:41:35 -08:00
2018-03-02 13:41:35 -08:00
2017-06-30 16:07:03 -07:00
2017-02-13 14:32:59 -08:00
2017-02-11 02:50:26 -08:00

docs-base

This is the source for docs/docker.github.io:docs-base.

The docs-base Dockerfile includes:

  • The GitHub Pages environment (w/Jekyll)
  • nginx
  • Builds of all previous versions of Docker's documentation

Having this large amount of stuff that stays relatively static in a base image helps keep build times for the docs low as we can use Docker Cloud's caching when running auto-builds out of GitHub.

While you would only see the docs archives by doing so, you can run docs-base locally and peruse by running:

docker run -ti -p 4000:4000 docs/docker.github.io:docs-base

The contents of docs-base will then be viewable in your browser at localhost:4000.

Reasons to update this branch

  • Changing the nginx configuration
  • Publishing a new docs archive, or anything else that stays static between doc builds.
  • Updating the GitHub Pages version used in production to a newer release
Description
No description provided
Readme Apache-2.0 878 MiB
Languages
Markdown 97.3%
HTML 1.7%
CSS 0.4%
JavaScript 0.2%
Go 0.1%