Skip to content

Instantly share code, notes, and snippets.

@aidansteele
Last active August 29, 2016 10:39
Show Gist options
  • Save aidansteele/e4e28f030393401ae35c90a032e32ea2 to your computer and use it in GitHub Desktop.
Save aidansteele/e4e28f030393401ae35c90a032e32ea2 to your computer and use it in GitHub Desktop.
perfect template
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