Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b172d1a

Browse files
authoredOct 18, 2021
fix jazzy issues on older versions of ubuntu (apple#210)
1 parent a7e6d7f commit b172d1a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed
 

‎docker/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,9 @@ RUN apt-get update && apt-get install -y lsof dnsutils netcat-openbsd net-tools
1818

1919
# ruby and jazzy for docs generation
2020
RUN apt-get update && apt-get install -y ruby ruby-dev libsqlite3-dev build-essential
21-
# switch of gem docs building
22-
RUN echo "gem: --no-document" > ~/.gemrc
2321
# jazzy no longer works on xenial as ruby is too old.
24-
RUN if [ "${ubuntu_version}" != "xenial" ] ; then gem install jazzy; fi
22+
RUN if [ "${ubuntu_version}" = "focal" ] ; then echo "gem: --no-document" > ~/.gemrc; fi
23+
RUN if [ "${ubuntu_version}" = "focal" ] ; then gem install jazzy; fi
2524

2625
# tools
2726
RUN mkdir -p $HOME/.tools

0 commit comments

Comments
 (0)
Failed to load comments.