An Ubuntu 16.04 Docker image for Swift.
You can find the Docker Hub repo here: https://hub.docker.com/r/swiftdocker/swift/
Pull the Docker Image From Docker Hub:
docker pull swiftdocker/swift
Create a Container from the Image and Attach It:
docker run --privileged -i -t --name swiftfun swiftdocker/swift:latest /bin/bash
To Start and Attach Your Image Later:
Start your image with name
docker start swiftfun
and then attach it
docker attach swiftfun
Contributions via pull requests are welcome and encouraged :)
docker-swift is licensed under the MIT License.
@pyros2097 sorry just seeing this comment, this has been fixed in the last few builds :)
Trying to use switch package within the container but getting this error
/usr/bin/swift-package: error while loading shared libraries: libcurl.so.4: cannot open shared object file: No such file or directory