Project

General

Profile

Bug #17629 » Dockerfile

radarek (Radosław Bułat), 02/14/2021 02:53 PM

 
FROM ubuntu:focal

RUN apt-get update -qq && \
apt-get install -y \
autoconf \
build-essential \
git \
libedit-dev \
wget

WORKDIR /app

RUN wget https://cache.ruby-lang.org/pub/ruby/3.0/ruby-3.0.0.tar.gz && \
tar xfz ruby-3.0.0.tar.gz && \
cd ruby-3.0.0 && \
autoconf && \
./configure --prefix=/opt && \
make install
(2-2/2)