From a39213b640b3650c8b8f0930446d6a302d47ae29 Mon Sep 17 00:00:00 2001 From: tomer doron Date: Thu, 2 Sep 2021 09:47:51 -0700 Subject: [PATCH] update docker to always install ruby as it is used by some scripts (#142) --- docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 400d61cf49..377c53d689 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -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 # 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. -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 gem install jazzy ; fi