Change the FROM in your Dockerfile to either ataias/swift:5.5.2-focal or ataias/swift:5.5.2-focal-slim.
This repo was created as a way to simplify building a Swift-based Docker image for amd64 and arm64. Last I saw (January 1st, 2022), the official Swift image was for amd64, even though the nightly repository has both architectures. Stable arm64 docker images are available in a community repo: swiftarm. This repository simply creates images from both.
You can see the scripts folder for more info on what is done.
Git Repo: https://gitlab.com/ataias/swift-docker-multiarch
MIT. See LICENSE file.
Content type
Image
Digest
Size
688.5 MB
Last updated
over 4 years ago
docker pull ataias/swift:5.5.2-focal-amd64