$ docker run -ti swiftlang/swift:nightly-5.7-jammy swift --version
Swift version 5.7.1-dev (LLVM 597c04db307f4ed, Swift 2e814ca5d704c9f)
Target: x86_64-unknown-linux-gnu
5.7 gives 5.7.3:
$ docker pull swift:5.7-focal
5.7-focal: Pulling from library/swift
Digest: sha256:cd76d9a7b23351dfea4faa08f4b99fad60b669707eb66481eccbf5082d108ec8
Status: Image is up to date for swift:5.7-focal
docker.io/library/swift:5.7-focal
$ docker run -ti swift:5.7-focal swift --version
Swift version 5.7.3 (swift-5.7.3-RELEASE)
Target: x86_64-unknown-linux-gnu
We stopped producing Swift 5.7 nightly toolchains, and we are focusing on Swift 5.8 nightly. I would recommend switching to Swift 5.7 release or Swift 5.8 nightly.
Maybe should replace these the same as the release branch, so that the containers using this at least use up to date release version?
5.7 gives 5.7.3:
Old version keeps on being pushed regularly: https://hub.docker.com/r/swiftlang/swift/tags?page=1&name=nightly-5.7