blob: 7c6b8d48bada68820be1637b1ecea580b56698d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
FROM centos:{{TAG}} AS base
RUN yum -y install perl git gcc make
COPY . /home/rstar
RUN /home/rstar/bin/rstar install \
-p /home/raku {{INSTALL_OPTIONS}}
RUN yum -y remove perl git gcc make
FROM centos:{{TAG}}
COPY --from=base /home/raku /usr/local
COPY --from=base /usr/lib64 /usr/lib64
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"]
|