provide ruby 1.9.3 on debian

This commit is contained in:
chris 2016-08-16 15:18:22 +02:00
commit 6b4a89d1aa
2 changed files with 15 additions and 0 deletions

15
Dockerfile Normal file
View file

@ -0,0 +1,15 @@
FROM debian:stable
ADD ruby-1.9.3-p448.tar.bz2 /ruby/
WORKDIR /ruby/ruby-1.9.3-p448/
RUN apt-get update && \
apt-get install -y build-essential libncurses5-dev libffi-dev openssl zlib1g-dev && \
/bin/bash ./configure && \
make && \
make install && \
apt-get purge -y build-essential libncurses5-dev libffi-dev openssl zlib1g-dev && \
apt-get autoremove -y && \
apt-get purge -y $(dpkg --get-selections | grep deinstall | awk '{print $1}') && \
apt-get clean all

BIN
ruby-1.9.3-p448.tar.bz2 Normal file

Binary file not shown.