summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-04-20 22:25:22 -0600
committermo khan <mo.khan@gmail.com>2020-04-20 22:25:22 -0600
commit83ac7915f00d120f09db42ca60316dc745c73cc9 (patch)
tree28fde141fdc7ab2ef6e3a5611d074785c0459d53 /Dockerfile
parent685f2f5b80222d6b7079c59bfd5b1c5df0e0337e (diff)
Build minimal image
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index ecc934d..a1dea96 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,6 +6,7 @@ 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 libncurses6
+RUN apt-get update -y && apt-get install -y libgdbm6 wget libssl1.1 libyaml-0-2 libreadline7 libncurses6 libxml2
COPY --from=ruby-builder /opt/ruby /opt/ruby
+RUN env
+RUN spandx help