Swift Docker Image Tags


(Mishal Shah) #1

Recently, I updated the swift-docker repository to support Ubuntu 18.04 for Swift 4.2. (https://github.com/apple/swift-docker/pull/124)

How should we separate the tags between two Ubuntu versions?

4.2 (Ubuntu 16.04):
4.2-ubuntu16.04
4.2.1-ubuntu16.04
4.2.2-ubuntu16.04

4.2 (Ubuntu 18.04):
4.2-ubuntu18.04
4.2.1-ubuntu18.04
4.2.2-ubuntu18.04
4.2
4.2.1
4.2.2
latest

Any thoughts?


(Ian Partridge) #2

Convention seems to be to use the distribution codename in the tagnames, so xenial for 16.04 and bionic for 18.04. This is the format used by the official MongoDB and MariaDB images. Debian latest is debian:stretch.

Having said that I don't think we should make any changes before we do Swift 5 images. In particular I think swift:4.2 should continue to be 16.04 and not changed to 18.04.

But for those I would suggest:

5.0 (Ubuntu 16.04 Xenial)
5.0-xenial
xenial

5.0 (Ubuntu 18.04 Bionic)
5.0
5.0-bionic
bionic
latest