From 2e40537f1ba3447aa7ebde513e7353bec616c077 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Fri, 19 Jul 2019 22:16:22 +0000 Subject: [PATCH] Run update.sh --- swift/README.md | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/swift/README.md b/swift/README.md index bfb05554e..f16c9ea91 100644 --- a/swift/README.md +++ b/swift/README.md @@ -16,8 +16,10 @@ WARNING: # Supported tags and respective `Dockerfile` links -- [`5.0.1`, `5.0`, `5.0.1-bionic`, `5.0-bionic`, `bionic`, `latest`](https://github.com/apple/swift-docker/blob/0aafffef619fb3b1824c968cbbe2fba4ba41bd26/5.0/ubuntu/18.04/Dockerfile) -- [`5.0.1-xenial`, `5.0-xenial`, `xenial`](https://github.com/apple/swift-docker/blob/0aafffef619fb3b1824c968cbbe2fba4ba41bd26/5.0/ubuntu/16.04/Dockerfile) +- [`5.0.2`, `5.0`, `5.0.2-bionic`, `5.0-bionic`, `bionic`, `latest`](https://github.com/apple/swift-docker/blob/585696c3d6daae2197527bee5b53a3d0e092a47f/5.0/ubuntu/18.04/Dockerfile) +- [`5.0.2-xenial`, `5.0-xenial`, `xenial`](https://github.com/apple/swift-docker/blob/585696c3d6daae2197527bee5b53a3d0e092a47f/5.0/ubuntu/16.04/Dockerfile) +- [`5.0.2-slim`, `5.0-slim`, `5.0.2-bionic-slim`, `5.0-bionic-slim`, `bionic-slim`, `slim`](https://github.com/apple/swift-docker/blob/585696c3d6daae2197527bee5b53a3d0e092a47f/5.0/ubuntu/18.04/slim/Dockerfile) +- [`5.0.2-xenial-slim`, `5.0-xenial-slim`, `xenial-slim`](https://github.com/apple/swift-docker/blob/585696c3d6daae2197527bee5b53a3d0e092a47f/5.0/ubuntu/16.04/slim/Dockerfile) - [`4.2.4`, `4.2`, `4`](https://github.com/apple/swift-docker/blob/f0a61df2dd9a14dd6988e6017ae58cc63df37f41/4.2/ubuntu/16.04/Dockerfile) - [`4.1.3`, `4.1`](https://github.com/apple/swift-docker/blob/34aa283f9b3473ab22b2282f71773781b121af19/4.1/Dockerfile) - [`4.0.3`, `4.0`](https://github.com/apple/swift-docker/blob/34aa283f9b3473ab22b2282f71773781b121af19/4.0/Dockerfile) @@ -97,6 +99,20 @@ and then attach it docker attach swiftfun ``` +# Image Variants + +The `swift` images come in many flavors, each designed for a specific use case. + +## `swift:` + +This is the defacto image. If you are unsure about what your needs are, you probably want to use this one. It is designed to be used both as a throw away container (mount your source code and start the container to start your app), as well as the base to build other images off of. + +Some of these tags may have names like bionic or xenial in them. These are the suite code names for releases of [Ubuntu](https://wiki.ubuntu.com/Releases) and indicate which release the image is based on. + +## `swift:-slim` + +This image does not contain the common packages contained in the default tag and only contains the minimal packages needed to run `swift`. Unless you are working in an environment where *only* the `swift` image will be deployed and you have space constraints, we highly recommend using the default image of this repository. + # License View [license information](https://swift.org/LICENSE.txt) for the software contained in this image.