blob: 4b891a2ca6592baba0704577e3888c4a661f91b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
FROM fedora:latest AS base
COPY . /home/rstar
RUN dnf install -y gcc make perl
RUN /home/rstar/bin/rstar install -p /home/raku
RUN dnf remove -y gcc make perl
FROM fedora:latest
COPY --from=base /home/raku /usr/local
COPY --from=base /usr/lib /usr/lib
ENV PATH=/usr/local/share/perl6/site/bin:$PATH
ENV PATH=/usr/local/share/perl6/vendor/bin:$PATH
ENV PATH=/usr/local/share/perl6/core/bin:$PATH
ENV PERL6LIB=/app/lib
WORKDIR /app
CMD [ "raku" ]
|