1
0
mirror of https://github.com/docker/docs.git synced 2026-10-23 18:09:02 +03:00
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
Репозиторий с исходным кодом для документации Docker
Readme Apache-2.0 932 MiB
Languages
Markdown 95.1%
HTML 2.3%
CSS 0.7%
Go 0.7%
JavaScript 0.7%
Other 0.2%