Skip to content

Commit

Permalink
perl6: update to ubunut:24.04 to fix type error
Browse files Browse the repository at this point in the history
With older rakudo, this error occurs:
    user> (let* (DEBUG-EVAL false) (- 3 1))
    Cannot resolve caller Numeric(types::MalFalse: ); none of these signatures match:
  • Loading branch information
kanaka committed Aug 5, 2024
1 parent 5d30087 commit 2533a73
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions impls/perl6/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:vivid
FROM ubuntu:24.04
MAINTAINER Joel Martin <github@martintribe.org>

##########################################################
Expand All @@ -9,10 +9,8 @@ MAINTAINER Joel Martin <github@martintribe.org>
RUN apt-get -y update

# Required for running tests
RUN apt-get -y install make python

# Some typical implementation and test requirements
RUN apt-get -y install curl libreadline-dev libedit-dev
RUN apt-get -y install make python3
RUN ln -fs /usr/bin/python3 /usr/local/bin/python

RUN mkdir -p /mal
WORKDIR /mal
Expand All @@ -22,13 +20,4 @@ WORKDIR /mal
##########################################################

# Perl6 build deps
RUN apt-get -y install libfile-copy-recursive-perl build-essential git

RUN curl -O http://rakudo.org/downloads/star/rakudo-star-2016.07.tar.gz && \
tar xzf rakudo-star-2016.07.tar.gz && \
cd rakudo-star-2016.07 && \
perl Configure.pl --prefix=/usr --gen-moar --gen-nqp --backends=moar && \
make && \
make install && \
cd .. && \
rm -rf rakudo-star-2016.07*
RUN apt-get -y install rakudo

0 comments on commit 2533a73

Please sign in to comment.