mirror of
https://github.com/apple/swift-nio-extras.git
synced 2025-05-15 17:38:53 +08:00
update docker to always install ruby as it is used by some scripts
This commit is contained in:
parent
21bb5ba29d
commit
1fdef4c135
@ -18,8 +18,8 @@ RUN apt-get update && apt-get install -y lsof dnsutils netcat-openbsd net-tools
|
|||||||
RUN apt-get update && apt-get install -y zlib1g-dev
|
RUN apt-get update && apt-get install -y zlib1g-dev
|
||||||
|
|
||||||
# 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 build-essential
|
||||||
# jazzy no longer works on xenial as ruby is too old.
|
# jazzy no longer works on xenial as ruby is too old.
|
||||||
RUN if [ "${ubuntu_version}" = "focal" ] ; then apt-get update && apt-get install -y ruby ruby-dev libsqlite3-dev build-essential ; fi
|
|
||||||
RUN if [ "${ubuntu_version}" = "focal" ] ; then echo "gem: --no-document" > ~/.gemrc ; fi
|
RUN if [ "${ubuntu_version}" = "focal" ] ; then echo "gem: --no-document" > ~/.gemrc ; fi
|
||||||
RUN if [ "${ubuntu_version}" = "focal" ] ; then gem install jazzy ; fi
|
RUN if [ "${ubuntu_version}" = "focal" ] ; then gem install jazzy ; fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user