Skip to content

Commit

Permalink
Added Dockerfile and fixed test dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-fowler committed Nov 7, 2019
1 parent be924f6 commit 92073bb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM swift:5.1 as builder

RUN apt-get -qq update && apt-get install -y \
libssl-dev zlib1g-dev \
&& rm -r /var/lib/apt/lists/*

WORKDIR /aws-signer
COPY . .
RUN swift test
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ let package = Package(
targets: [
.target(name: "AWSSigner", dependencies: ["NIOHTTP1"]),
.target(name: "HTTPClientAWSSigner", dependencies: ["AWSSigner", "AsyncHTTPClient"]),
.testTarget(name: "AWSSignerTests", dependencies: ["AWSSigner"]),
.testTarget(name: "AWSSignerTests", dependencies: ["AWSSigner", "HTTPClientAWSSigner"]),
]
)

Expand Down

0 comments on commit 92073bb

Please sign in to comment.