Swift 3 Release and GM Candidate builds
This image will be end-of-life'd since there is a shiny new Official Swift Docker image here: https://hub.docker.com/_/swift/
The image is available on Docker Hub as smithmicro/swift with the following tags:
3.0.2, 3.0, 3, latest, (Dockerfile) swift-3.0.23.0.1 swift-3.0.1-RELEASE3.0.0 swift-3.0-RELEASEThis image is used as a base image for a Swift 3 application. An example Dockerfile would be:
FROM smithmicro/swift:latest
ADD helloworld.swift ./
RUN swiftc helloworld.swift
CMD ./helloworld
You can also jump into the Swift REPL like this:
$ docker run -it --privileged smithmicro/swift swift
Content type
Image
Digest
Size
366.9 MB
Last updated
almost 10 years ago
docker pull smithmicro/swift