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
|
|
|
|
2019-07-03 18:41:33 +02:00
|
|
|
ENV REFRESHED_AT=2019-07-03
|
2018-11-06 10:30:27 +01:00
|
|
|
RUN apt-get update -yq && apt-get install -yq build-essential inotify-tools postgresql-client git curl gnupg
|
2018-12-18 12:26:10 +01:00
|
|
|
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash && apt-get install nodejs -yq
|
2019-04-10 17:30:18 +02:00
|
|
|
RUN npm install -g yarn
|
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
|
2019-02-21 17:14:49 +01:00
|
|
|
RUN curl http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz --output GeoLite2-City.tar.gz -s && tar zxf GeoLite2-City.tar.gz && mkdir -p /usr/share/GeoIP && mv GeoLite2-City_*/GeoLite2-City.mmdb /usr/share/GeoIP/GeoLite2-City.mmdb
|