From ac4dcc41d3748fe79801c1b0ccfde0e346c3f35a Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Mon, 4 Nov 2019 16:40:09 +0100 Subject: Update Docker target --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Dockerfile') 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" ] -- cgit v1.1