-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
33 lines (30 loc) · 821 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
28
29
30
31
32
33
FROM rakudo-star:latest
RUN buildDeps=' \
build-essential \
cpanminus \
' \
runtimeDeps=' \
graphviz \
make \
ruby-sass \
' \
testDeps=' \
aspell \
' \
\
&& set -x \
\
&& apt-get update \
&& apt-get --yes --no-install-recommends install $buildDeps $runtimeDeps $testDeps \
&& rm -rf /var/lib/apt/lists/* \
\
&& cpanm -vn Mojolicious \
&& zef install Test::META \
\
&& n=/usr/local/bin/n \
&& curl -fsSL https://raw.githubusercontent.com/tj/n/master/bin/n > "$n" \
&& chmod +x "$n" \
&& n stable
WORKDIR /perl6/doc
EXPOSE 3000
CMD make test && make html && ./app-start