Last active
August 29, 2016 10:39
-
-
Save aidansteele/e4e28f030393401ae35c90a032e32ea2 to your computer and use it in GitHub Desktop.
perfect template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM swiftdocker/swift:latest | |
RUN sudo sed -i 's/archive.ubuntu.com/au.archive.ubuntu.com/g' /etc/apt/sources.list | |
RUN apt-get update | |
RUN apt-get install -y \ | |
libcurl3-dev \ | |
openssl \ | |
uuid-dev | |
WORKDIR /app | |
COPY Package.swift . | |
RUN swift package fetch | |
COPY . . | |
RUN swift build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment