|
|
@@ -16,11 +16,11 @@ WARNING:
|
|
|
|
|
|
# Supported tags and respective `Dockerfile` links
|
|
|
|
|
|
-- [`20.0.1`, `latest` (*20/Dockerfile*)](https://github.com/c0b/docker-erlang-otp/blob/25224b9f7b11af9db404c97433483619fdfed02b/20/Dockerfile)
|
|
|
-- [`20.0.1-slim` (*20/slim/Dockerfile*)](https://github.com/c0b/docker-erlang-otp/blob/25224b9f7b11af9db404c97433483619fdfed02b/20/slim/Dockerfile)
|
|
|
-- [`20.0.1-alpine` (*20/alpine/Dockerfile*)](https://github.com/c0b/docker-erlang-otp/blob/25224b9f7b11af9db404c97433483619fdfed02b/20/alpine/Dockerfile)
|
|
|
-- [`19.3.6.1`, `19.3`, `19` (*19/Dockerfile*)](https://github.com/c0b/docker-erlang-otp/blob/fd534c28f30861d8536fb0f7452051a17f452243/19/Dockerfile)
|
|
|
-- [`19.3.6.1-slim`, `19.3-slim`, `19-slim`, `slim` (*19/slim/Dockerfile*)](https://github.com/c0b/docker-erlang-otp/blob/fd534c28f30861d8536fb0f7452051a17f452243/19/slim/Dockerfile)
|
|
|
+- [`20.0.1`, `20.0`, `20`, `latest` (*20/Dockerfile*)](https://github.com/c0b/docker-erlang-otp/blob/25224b9f7b11af9db404c97433483619fdfed02b/20/Dockerfile)
|
|
|
+- [`20.0.1-slim`, `20.0-slim`, `20-slim`, `slim` (*20/slim/Dockerfile*)](https://github.com/c0b/docker-erlang-otp/blob/25224b9f7b11af9db404c97433483619fdfed02b/20/slim/Dockerfile)
|
|
|
+- [`20.0.1-alpine`, `20.0-alpine`, `20-alpine`, `alpine` (*20/alpine/Dockerfile*)](https://github.com/c0b/docker-erlang-otp/blob/25224b9f7b11af9db404c97433483619fdfed02b/20/alpine/Dockerfile)
|
|
|
+- [`19.3.6.1`, `19.3.6`, `19.3`, `19` (*19/Dockerfile*)](https://github.com/c0b/docker-erlang-otp/blob/fd534c28f30861d8536fb0f7452051a17f452243/19/Dockerfile)
|
|
|
+- [`19.3.6.1-slim`, `19.3.6-slim`, `19.3-slim`, `19-slim` (*19/slim/Dockerfile*)](https://github.com/c0b/docker-erlang-otp/blob/fd534c28f30861d8536fb0f7452051a17f452243/19/slim/Dockerfile)
|
|
|
- [`18.3.4.5`, `18.3.4`, `18.3`, `18` (*18/Dockerfile*)](https://github.com/c0b/docker-erlang-otp/blob/1b03fdd83ec769e7962ec0dce01e25613a46dacf/18/Dockerfile)
|
|
|
- [`18.3.4.5-slim`, `18.3.4-slim`, `18.3-slim`, `18-slim` (*18/slim/Dockerfile*)](https://github.com/c0b/docker-erlang-otp/blob/1b03fdd83ec769e7962ec0dce01e25613a46dacf/18/slim/Dockerfile)
|
|
|
- [`17.5.6.9`, `17.5.6`, `17.5`, `17` (*17/Dockerfile*)](https://github.com/c0b/docker-erlang-otp/blob/ea32d5f6f1735f9f55bee04b112166da96eb9c73/17/Dockerfile)
|
|
|
@@ -112,6 +112,14 @@ This is the defacto image. If you are unsure about what your needs are, you prob
|
|
|
|
|
|
This image does not contain the common packages contained in the default tag and only contains the minimal packages needed to run `erlang`. Unless you are working in an environment where *only* the `erlang` image will be deployed and you have space constraints, we highly recommend using the default image of this repository.
|
|
|
|
|
|
+## `erlang:alpine`
|
|
|
+
|
|
|
+This image is based on the popular [Alpine Linux project](http://alpinelinux.org), available in [the `alpine` official image](https://hub.docker.com/_/alpine). Alpine Linux is much smaller than most distribution base images (~5MB), and thus leads to much slimmer images in general.
|
|
|
+
|
|
|
+This variant is highly recommended when final image size being as small as possible is desired. The main caveat to note is that it does use [musl libc](http://www.musl-libc.org) instead of [glibc and friends](http://www.etalabs.net/compare_libcs.html), so certain software might run into issues depending on the depth of their libc requirements. However, most software doesn't have an issue with this, so this variant is usually a very safe choice. See [this Hacker News comment thread](https://news.ycombinator.com/item?id=10782897) for more discussion of the issues that might arise and some pro/con comparisons of using Alpine-based images.
|
|
|
+
|
|
|
+To minimize image size, it's uncommon for additional related tools (such as `git` or `bash`) to be included in Alpine-based images. Using this image as a base, add the things you need in your own Dockerfile (see the [`alpine` image description](https://hub.docker.com/_/alpine/) for examples of how to install packages if you are unfamiliar).
|
|
|
+
|
|
|
# License
|
|
|
|
|
|
View [license information](http://www.erlang.org/about.html) for the software contained in this image.
|