diff options
author | Patrick Spek <p.spek@tyil.nl> | 2019-11-04 18:42:03 +0100 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2019-11-04 18:42:03 +0100 |
commit | 215447a103a4f050c3c5bd544f2628890a649882 (patch) | |
tree | ed162eea6fc963d22cd1b6c370f627fc3f1746c2 | |
parent | ac4dcc41d3748fe79801c1b0ccfde0e346c3f35a (diff) |
Update Dockerfile
-rw-r--r-- | Dockerfile | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -2,16 +2,19 @@ FROM alpine:latest AS build ARG VERSION -COPY work /tmp +COPY work /tmp/work + +WORKDIR /tmp/rakudo-star -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 +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 |