Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Fuzzwah authored Feb 26, 2024
1 parent a849a12 commit cc35caa
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:trusty
FROM ubuntu:focal

RUN apt-get update -qq
RUN apt-get install -y apt-transport-https
Expand All @@ -8,18 +8,25 @@ RUN echo "deb https://dl.bintray.com/nxadm/rakudo-pkg-debs `lsb_release -cs` mai
RUN apt-get update -qq

RUN apt-get install -y \
perl rakudo-pkg curl git build-essential python python-pip \
perl rakudo-pkg curl git build-essential \
libssl-dev libreadline-dev zlib1g-dev \
libicu-dev cmake pkg-config

# Add the deadsnakes PPA to get Python 3.11 and install it
RUN add-apt-repository ppa:deadsnakes/ppa && \
apt-get update && \
apt-get install -y --no-install-recommends \
python3.11

RUN curl -sS https://bootstrap.pypa.io/get-pip.py | python3.11
RUN pip install python3-docutils

ENV PATH $PATH:/opt/rakudo-pkg/bin
RUN install-zef-as-user && zef install Pod::To::HTML

RUN curl -L http://cpanmin.us | perl - App::cpanminus
RUN cpanm --installdeps --notest Pod::Simple

RUN pip install docutils

ENV PATH $PATH:/root/.rbenv/bin:/root/.rbenv/shims
RUN curl -fsSL https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-installer | bash
RUN rbenv install 2.4.1
Expand Down

0 comments on commit cc35caa

Please sign in to comment.