Swift 3 Release and GM Candidate builds
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.2-RELEASE3.0.1
swift-3.0.1-RELEASE3.0.0
swift-3.0-RELEASE
This 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