docker-ruby/Dockerfile

16 lines
501 B
Text
Raw Permalink Normal View History

2016-08-16 13:18:22 +00:00
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}') && \
2016-08-16 13:39:08 +00:00
apt-get clean all && \
rm -rf /ruby/