Skip to content

Instantly share code, notes, and snippets.

@mcoms
Created October 20, 2015 12:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mcoms/8e4a38f0bd7f4e429b69 to your computer and use it in GitHub Desktop.
Save mcoms/8e4a38f0bd7f4e429b69 to your computer and use it in GitHub Desktop.
Elixir Dockerfile (en_GB.UTF-8)
FROM debian:latest
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -yq wget locales
RUN dpkg-reconfigure locales && \
locale-gen C.UTF-8 && \
/usr/sbin/update-locale LANG=C.UTF-8
RUN echo 'en_GB.UTF-8 UTF-8' >> /etc/locale.gen && \
locale-gen
ENV LC_ALL C.UTF-8
ENV LANG en_GB.UTF-8
ENV LANGUAGE en_GB.UTF-8
RUN wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb && DEBIAN_FRONTEND=noninteractive dpkg -i erlang-solutions_1.0_all.deb && rm erlang-solutions_1.0_all.deb
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -yq elixir
CMD ["iex"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment