Public | Automated Build

Last pushed: 8 months ago
Short Description
Swift REPL in Ubuntu 16.04
Full Description

Swift REPL in Docker container

Base image: ubuntu 16.04

Branch: swift-3.0.2-release

swift.org > Using the Swift REPL

Docker Hub image

jlehikoinen/swift-repl

Run Swift REPL in Docker container

$ docker run --privileged -it jlehikoinen/swift-repl swift

Build your own Docker image

Setup

$ git clone https://github.com/jlehikoinen/swift-repl.git

$ cd swift-repl

$ docker build -t my-swift .

Usage

Swift REPL:

$ docker run --privileged -it my-swift swift

Run example script:

$ docker run --privileged -it --rm -v "$PWD":/code my-swift swift code/example.swift

Docker Pull Command
Owner
jlehikoinen
Source Repository

Comments (0)