-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
27 lines (19 loc) · 957 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
FROM alpine
ENV alpine_rakudo_apk_url=https://github.com/nxadm/rakudo-pkg/releases/download/v2012.12-02/rakudo-pkg-Alpine3.10_2020.12-02_x86_64.apk
ENV PATH=/opt/rakudo-pkg/share/perl6/site/bin:/opt/rakudo-pkg/bin:/root/.raku/bin:$PATH
RUN apk add --no-cache curl perl bash git && \
curl -s -L -k -o /tmp/rakudo-pkg.apk $alpine_rakudo_apk_url && \
apk add --allow-untrusted /tmp/rakudo-pkg.apk && \
apk add --no-cache sqlite sqlite-libs sqlite-dev procps openssh-client && \
rm /tmp/rakudo-pkg.apk
RUN mkdir -p /root/.sparky/
ENV BAILADOR=host:0.0.0.0,port:3000
RUN zef install --/test https://github.com/melezhik/Sparrow6.git && \
rm /root/.zef/* -R
RUN zef install --/test https://github.com/melezhik/sparrowdo.git \
https://github.com/melezhik/sparky.git && \
rm /root/.zef/* -R
RUN git clone https://github.com/melezhik/sparky.git /root/sparky
COPY entrypoint.sh /tmp/
ENTRYPOINT bash /tmp/entrypoint.sh
EXPOSE 3000