Skip to content

Instantly share code, notes, and snippets.

@gnue
Created December 5, 2015 03:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gnue/0283a8ca85aae871ab6d to your computer and use it in GitHub Desktop.
Save gnue/0283a8ca85aae871ab6d to your computer and use it in GitHub Desktop.
docker swift 2.2-SNAPSHOT
# swift
#
# VERSION 0.0.1
FROM ubuntu:15.10
MAINTAINER gnue
RUN apt-get update \
&& apt-get install -y curl libedit-dev libicu-dev libpython2.7 \
&& apt-get clean
ENV SWIFTBIN="https://swift.org/builds/ubuntu1510/swift-2.2-SNAPSHOT-2015-12-01-b/swift-2.2-SNAPSHOT-2015-12-01-b-ubuntu15.10.tar.gz"
RUN curl "$SWIFTBIN" | tar xz --strip=1
ENTRYPOINT ["/bin/bash"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment