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:
parent
923775a5f6
commit
de1a7d570b
|
|
@ -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
|
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
|
# ruby and jazzy for docs generation
|
||||||
RUN apt-get update && apt-get install -y ruby ruby-dev libsqlite3-dev
|
RUN apt-get update && apt-get install -y ruby ruby-dev libsqlite3-dev build-essential
|
||||||
RUN gem install jazzy --no-ri --no-rdoc
|
# 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
|
# tools
|
||||||
RUN mkdir -p $HOME/.tools
|
RUN mkdir -p $HOME/.tools
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
@ -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
|
||||||
Loading…
Reference in New Issue