Public | Automated Build

Last pushed: a year ago
Short Description
Docker image containing Swift. Ideal for compiling Swift applications, or using the REPL.
Full Description

Docker Image: Swift


Docker image containing Swift. Ideal for compiling Swift applications, or using the REPL.

Usage

Run the Swift REPL:

docker run --rm --privileged -it -v $PWD:$PWD -w $PWD leighmcculloch/swift swift

Build a Swift app in the current directory. The output will be available in your local file system after building completes.

docker run --rm --privileged -it -v $PWD:$PWD -w $PWD leighmcculloch/swift swift build

Development

Build the image:

make build

Run the image:

make run
Docker Pull Command
Owner
leighmcculloch
Source Repository

Comments (0)