1# Base image
2#
3# VERSION 0.2
4FROM lfex/lfe
5MAINTAINER LFE Maintainers <maintainers@lfe.io>
6
7ENV DEBIAN_FRONTEND noninteractive
8RUN apt-get update
9RUN apt-get -f install -y
10RUN apt-get install -y pandoc groff groff-base bsdmainutils
11RUN apt-get install -y locales
12RUN locale-gen en_US.UTF-8 UTF-8
13RUN sh -c "echo -e 'en_US.UTF-8 UTF-8' >> /etc/locale.gen"
14RUN dpkg-reconfigure locales
15
16ENV LANG en_US.UTF-8
17ENV LANGUAGE en_US.UTF-8
18ENV LC_CTYPE en_US.UTF-8
19
20CMD cd /opt/erlang/lfe && make docs && cp -r doc/* /docs
21