Skip to content

Commit

Permalink
Move no-docs Dockerfile to util refs #2525
Browse files Browse the repository at this point in the history
  • Loading branch information
JJ committed Dec 27, 2018
1 parent fdb6bdb commit d55dd68
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions util/Dockerfile
@@ -0,0 +1,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

0 comments on commit d55dd68

Please sign in to comment.