Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move no-docs Dockerfile to util refs #2525
- Loading branch information
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |