Updates from project template

This commit is contained in:
Adam Fowler
2021-03-15 18:22:41 +00:00
parent e0d7e364e8
commit 955e1eb9e4
10 changed files with 501 additions and 2 deletions

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM swift:5.3-focal
WORKDIR /build
# First just resolve dependencies.
# This creates a cached layer that can be reused
# as long as your Package.swift/Package.resolved
# files do not change.
COPY ./Package.* ./
RUN swift package resolve
# Copy entire repo into container
COPY . .
RUN swift test --sanitize=thread --enable-test-discovery