Skip to content

Instantly share code, notes, and snippets.

@kjessup
Created April 6, 2017 22:38
Show Gist options
  • Save kjessup/1ae7d74d88e0ba13504fdae8e9141d3c to your computer and use it in GitHub Desktop.
Save kjessup/1ae7d74d88e0ba13504fdae8e9141d3c to your computer and use it in GitHub Desktop.
FROM ubuntu:16.04
LABEL perfectassistant="u16"
RUN apt-get -y update && apt-get install -y \
clang libicu-dev \
libcurl4-openssl-dev \
pkg-config \
git \
wget \
&& rm -rf /var/lib/apt/lists/*
RUN wget https://swift.org/builds/swift-3.0.2-release/ubuntu1604/swift-3.0.2-RELEASE/swift-3.0.2-RELEASE-ubuntu16.04.tar.gz \
&& tar xzf swift-3.0.2-RELEASE-ubuntu16.04.tar.gz \
&& rm swift-3.0.2-RELEASE-ubuntu16.04.tar.gz
ENV PATH=/swift-3.0.2-RELEASE-ubuntu16.04/usr/bin:"${PATH}"
ENV LD_LIBRARY_PATH=/swift-3.0.2-RELEASE-ubuntu16.04/usr/lib/swift/linux:"${LD_LIBRARY_PATH}"
VOLUME "/perfectbuild"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment