Project

General

Profile

Bug #14207 ยป Dockerfile

minimum2scp (Tsuyoshi YAMADA), 12/20/2017 03:06 AM

 
1
FROM debian:9.3
2
RUN apt-get update
3
RUN apt-get install -y --no-install-recommends \
4
    build-essential autoconf bison ca-certificates libgdbm-dev libncursesw5-dev libncurses5-dev \
5
    libreadline-dev zlib1g-dev libffi-dev libyaml-dev libgmp-dev libssl-dev \
6
    ruby
7
ADD https://cache.ruby-lang.org/pub/ruby/2.5/ruby-2.5.0-rc1.tar.gz /tmp
8
RUN tar xf /tmp/ruby-2.5.0-rc1.tar.gz -C /tmp
9
WORKDIR /tmp/ruby-2.5.0-rc1
10
RUN ./configure --prefix=/usr/local/ruby-2.5.0-rc1 --disable-install-doc
11
RUN make -j 8
12
RUN make install
13