2018-11-06 09:30:27 +00:00
|
|
|
FROM elixir:latest
|
2018-12-18 11:26:10 +00:00
|
|
|
LABEL maintainer="Thomas Citharel <tcit@tcit.fr>"
|
2018-11-06 09:30:27 +00:00
|
|
|
|
2019-07-03 16:41:33 +00:00
|
|
|
ENV REFRESHED_AT=2019-07-03
|
2018-11-06 09:30:27 +00:00
|
|
|
RUN apt-get update -yq && apt-get install -yq build-essential inotify-tools postgresql-client git curl gnupg
|
2018-12-18 11:26:10 +00:00
|
|
|
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash && apt-get install nodejs -yq
|
2019-04-10 15:30:18 +00:00
|
|
|
RUN npm install -g yarn
|
2018-12-18 10:24:22 +00:00
|
|
|
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
2018-12-18 11:26:10 +00:00
|
|
|
RUN mix local.hex --force && mix local.rebar --force
|
2019-02-21 16:14:49 +00: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
|