Skip to content

Commit

Permalink
Pin version in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikSchierboom committed Apr 16, 2021
1 parent 58a6e54 commit 9f019e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM swift:latest AS builder
FROM swift:5.3.3-bionic AS builder

COPY src/testrunner ./

RUN swift --version
RUN swift build --configuration release

FROM swift:latest
FROM swift:5.3.3-bionic
WORKDIR /opt/test-runner/
COPY bin/ bin/
COPY --from=builder /.build/release/TestRunner bin/
Expand Down

0 comments on commit 9f019e9

Please sign in to comment.