add docker setup for 5.4 and nightly

motivation: CI for 5.4 and latest

changes: add docker setup files for 5.4 and main nightly images
This commit is contained in:
tom doron 2021-02-26 14:15:08 -08:00 committed by Konrad `ktoso` Malawski
parent 923775a5f6
commit de1a7d570b
3 changed files with 39 additions and 2 deletions

View File

@ -17,8 +17,11 @@ RUN apt-get update && apt-get install -y wget
RUN apt-get update && apt-get install -y lsof dnsutils netcat-openbsd net-tools curl jq # used by integration tests
# ruby and jazzy for docs generation
RUN apt-get update && apt-get install -y ruby ruby-dev libsqlite3-dev
RUN gem install jazzy --no-ri --no-rdoc
RUN apt-get update && apt-get install -y ruby ruby-dev libsqlite3-dev build-essential
# switch of gem docs building
RUN echo "gem: --no-document" > ~/.gemrc
# jazzy no longer works on xenial as ruby is too old.
RUN if [ "${ubuntu_version}" != "xenial" ] ; then gem install jazzy; fi
# tools
RUN mkdir -p $HOME/.tools

View File

@ -0,0 +1,17 @@
version: "3"
services:
runtime-setup:
image: swift-metrics:20.04-5.4
build:
args:
base_image: "swiftlang/swift:nightly-5.4-focal"
test:
image: swift-metrics:20.04-5.4
environment: []
#- SANITIZER_ARG=--sanitize=thread
shell:
image: swift-metrics:20.04-5.4

View File

@ -0,0 +1,17 @@
version: "3"
services:
runtime-setup:
image: swift-metrics:20.04-main
build:
args:
base_image: "swiftlang/swift:nightly-main-focal"
test:
image: swift-metrics:20.04-main
environment: []
#- SANITIZER_ARG=--sanitize=thread
shell:
image: swift-metrics:20.04-main