2018-11-06 10:30:27 +01:00
|
|
|
FROM elixir:latest
|
2018-12-18 12:26:10 +01:00
|
|
|
LABEL maintainer="Thomas Citharel <tcit@tcit.fr>"
|
2018-11-06 10:30:27 +01:00
|
|
|
|
2021-12-15 14:54:48 +01:00
|
|
|
ENV REFRESHED_AT=2021-12-15
|
2021-10-04 18:59:41 +02:00
|
|
|
RUN apt-get update -yq && apt-get install -yq build-essential inotify-tools postgresql-client git curl gnupg xvfb libgtk-3-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 cmake exiftool python3-pip python3-setuptools
|
2021-05-19 10:29:45 +02:00
|
|
|
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash && apt-get install nodejs -yq
|
2019-10-05 19:07:50 +02:00
|
|
|
RUN npm install -g yarn wait-on
|
2018-12-18 11:24:22 +01:00
|
|
|
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
2018-12-18 12:26:10 +01:00
|
|
|
RUN mix local.hex --force && mix local.rebar --force
|
2021-10-04 18:59:41 +02:00
|
|
|
# Weasyprint 53 requires pango >= 1.44.0, which is not available in Stretch.
|
|
|
|
# TODO: Remove the version requirement when elixir:latest is based on Bullseye
|
|
|
|
# https://github.com/erlang/docker-erlang-otp/issues/362
|
|
|
|
# https://github.com/Kozea/WeasyPrint/issues/1384
|
|
|
|
RUN pip3 install -Iv weasyprint==52 pyexcel_ods3
|
2020-02-18 08:57:00 +01:00
|
|
|
RUN curl https://dbip.mirror.framasoft.org/files/dbip-city-lite-latest.mmdb --output GeoLite2-City.mmdb -s && mkdir -p /usr/share/GeoIP && mv GeoLite2-City.mmdb /usr/share/GeoIP/
|