summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-04-14 23:11:14 -0600
committermo khan <mo.khan@gmail.com>2020-04-14 23:11:14 -0600
commit685f2f5b80222d6b7079c59bfd5b1c5df0e0337e (patch)
treec6d09ae34fa7535006921721669bf86a945fe425
parentc907207701c5789ee8bc9eb92494806a9d5d15d3 (diff)
Install ncurses and latest bundler
-rw-r--r--Dockerfile2
-rw-r--r--config/install.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index e1dddad..ecc934d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -7,5 +7,5 @@ RUN bash /root/install.sh
FROM debian:stable-slim
ENV PATH="/opt/ruby/bin:${HOME}/.local/bin:${PATH}"
ENV RUBYLIB="/opt/spandx-gitlab/lib"
-RUN apt-get update -y && apt-get install -y libgdbm6 wget libssl1.1 libyaml-0-2 libreadline7
+RUN apt-get update -y && apt-get install -y libgdbm6 wget libssl1.1 libyaml-0-2 libreadline7 libncurses6
COPY --from=ruby-builder /opt/ruby /opt/ruby
diff --git a/config/install.sh b/config/install.sh
index 554188c..be133ac 100644
--- a/config/install.sh
+++ b/config/install.sh
@@ -22,5 +22,5 @@ wget https://rubygems.org/rubygems/rubygems-3.1.2.tgz
tar -xf rubygems-3.1.2.tgz
cd rubygems-3.1.2
ruby setup.rb
-gem install spandx
+gem install bundler spandx
echo "Done"