Skip to content

Commit

Permalink
Merge pull request #2160 from metacpan/oalders/lessc
Browse files Browse the repository at this point in the history
Install lessc via Dockerfile
  • Loading branch information
ssoriche committed Apr 11, 2019
2 parents ef018d8 + 2bc2459 commit 86daa8d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
FROM perl:5.22

RUN curl -sL https://deb.nodesource.com/setup_10.x | bash \
&& apt-get update \
&& apt-get install -y nodejs npm \
&& npm install less -g

ENV PERL_MM_USE_DEFAULT=1 PERL_CARTON_PATH=/carton

COPY cpanfile cpanfile.snapshot /metacpan-web/
WORKDIR /metacpan-web

RUN cpanm App::cpm \
RUN cpanm --notest App::cpm \
&& cpm install -g Carton \
&& useradd -m metacpan-web -g users \
&& mkdir /carton \
Expand Down

0 comments on commit 86daa8d

Please sign in to comment.