Dockerfile 825 B

12345678910111213141516171819202122232425262728293031
  1. FROM debian:10.8-slim AS builder
  2. ENV TERM=xterm
  3. ENV DEBIAN_FRONTEND noninteractive
  4. RUN apt-get update && apt-get install -y locales git wget vim gnupg gnupg1 gnupg2
  5. ## Set LOCALE to UTF8
  6. RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && \
  7. locale-gen en_US.UTF-8 && \
  8. dpkg-reconfigure locales && \
  9. /usr/sbin/update-locale LANG=en_US.UTF-8
  10. ENV LC_ALL en_US.UTF-8
  11. RUN \
  12. wget https://packages.erlang-solutions.com/erlang-solutions_2.0_all.deb && \
  13. dpkg -i erlang-solutions_2.0_all.deb && \
  14. rm erlang-solutions_2.0_all.deb && \
  15. apt-get update -y && \
  16. apt-get install -y esl-erlang elixir
  17. RUN apt-get install -y curl build-essential && \
  18. curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - && \
  19. apt-get install -y nodejs
  20. WORKDIR /app
  21. ENV HOME /tmp/home
  22. USER 1000:1000
  23. CMD ["/bin/bash"]