summaryrefslogtreecommitdiff
path: root/Dockerfile
blob: b0035befa17b07512dca6d5985372bc2b78cb8cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM debian:stable-slim as ruby-builder
ENV PATH="/opt/ruby/bin:${HOME}/.local/bin:${PATH}"
WORKDIR /root
COPY config /root
RUN bash /root/install.sh

FROM debian:stable-slim
ENV PATH="/opt/ruby/bin:${HOME}/.local/bin:${PATH}"
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 rm /etc/profile
RUN mkdir -p /root/.local/share/
RUN spandx version
COPY *.gemspec ./
COPY *.txt ./
COPY lib lib/