From 059cddf9f557b827b21803c9dac61066e07a336e Mon Sep 17 00:00:00 2001
From: Patrick Spek
Date: Fri, 1 Nov 2019 13:21:37 +0100
Subject: Add Dockerfile
---
Dockerfile | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 Dockerfile
(limited to 'Dockerfile')
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..09ea8bc
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,15 @@
+FROM alpine:latest AS build
+
+ARG VERSION
+
+COPY work /tmp
+
+RUN cd -- /tmp/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
+
+COPY --from=build /usr/local /usr/local
+
+CMD [ "perl6" ]
--
cgit v1.1