aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 09ea8bc..ef78892 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -4,12 +4,16 @@ ARG VERSION
COPY work /tmp
-RUN cd -- /tmp/rakudo-star-$VERSION
+RUN cd -- "$(mktemp -d)"
+RUN tar xzf "/tmp/release/rakudo-star-$VERSION.tar.gz"
+RUN cd -- "rakudo-star-$VERSION"
RUN apk add --no-cache build-base git perl perl-utils libressl
RUN perl Configure.pl --prefix=/usr/local --backend=moar --gen-moar --make-install
FROM alpine:latest
+RUN apk add --no-cache libressl
+
COPY --from=build /usr/local /usr/local
CMD [ "perl6" ]