Skip to content

Commit

Permalink
Fix broken docker installation (#209)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukasa authored May 1, 2020
1 parent e806aee commit f02ae1b
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
ARG swift_version=5.0
ARG ubuntu_version=bionic
FROM swift:$swift_version-$ubuntu_version
ARG base_image=swift:$swift_version-$ubuntu_version
FROM $base_image
# needed to do again after FROM due to docker limitation
ARG swift_version
ARG ubuntu_version
Expand Down
28 changes: 28 additions & 0 deletions docker/docker-compose.1804.52.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
version: "3"

services:

runtime-setup:
image: swift-nio-ssl:18.04-5.2
build:
args:
ubuntu_version: "bionic"
swift_version: "5.2"

unit-tests:
image: swift-nio-ssl:18.04-5.2

integration-tests:
image: swift-nio-ssl:18.04-5.2

test:
image: swift-nio-ssl:18.04-5.2
environment:
- MAX_ALLOCS_ALLOWED_simple_handshake=743000
- MAX_ALLOCS_ALLOWED_many_writes=201000

performance-test:
image: swift-nio-ssl:18.04-5.2

shell:
image: swift-nio-ssl:18.04-5.2
27 changes: 27 additions & 0 deletions docker/docker-compose.1804.53.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
version: "3"

services:

runtime-setup:
image: swift-nio-ssl:18.04-5.3
build:
args:
base_image: "swiftlang/swift:nightly-master-bionic"

unit-tests:
image: swift-nio-ssl:18.04-5.3

integration-tests:
image: swift-nio-ssl:18.04-5.3

test:
image: swift-nio-ssl:18.04-5.3
environment:
- MAX_ALLOCS_ALLOWED_simple_handshake=743000
- MAX_ALLOCS_ALLOWED_many_writes=201000

performance-test:
image: swift-nio-ssl:18.04-5.3

shell:
image: swift-nio-ssl:18.04-5.3

0 comments on commit f02ae1b

Please sign in to comment.