diff options
author | Naoum Hankache <naoum88@gmail.com> | 2020-02-26 20:14:39 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-26 20:14:39 +0300 |
commit | a6253c2b109538031b7c9b52cbd56adb266c4746 (patch) | |
tree | 1b349ba24e7732118d884b4122ef741f091e2704 /Dockerfile | |
parent | 139ba6333a8b7497b5349a6ed9fde963ea7a90e7 (diff) | |
parent | 34714c9ec604da31fc87a98f1f7f165ea50214d1 (diff) |
Merge pull request #144 from Tyil/master
Get Rakudo Star working for 2019.07.1
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..3117420 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,22 @@ +FROM alpine:latest AS build + +ARG VERSION + +COPY work /tmp/work + +WORKDIR /tmp/rakudo-star + +RUN apk add --no-cache build-base git perl perl-utils openssl-dev readline-dev +RUN tar xzf "/tmp/work/release/rakudo-star-$VERSION.tar.gz" +RUN cd -- "rakudo-star-$VERSION" \ + && perl Configure.pl --prefix=/usr/local --backend=moar --gen-moar --make-install + +FROM alpine:latest + +WORKDIR /root + +RUN apk add --no-cache libressl + +COPY --from=build /usr/local /usr/local + +CMD [ "perl6" ] |