-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
43 lines (33 loc) · 1.12 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
FROM ubuntu:xenial
LABEL authors="Tiago Oliveira <tiago.oliveira@gmx.us>, Hendrik Beneke <hendrik.beneke@agcocorp.com>"
RUN apt-get update && apt-get -y upgrade && apt-get -y install wget
RUN cd /tmp; wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb && \
dpkg -i erlang-solutions_1.0_all.deb && \
apt-get update
RUN apt-get -y install erlang=1:20.3-1 \
elixir \
erlang-base-hipe \
build-essential \
git \
ant \
default-jdk \
zip \
xsltproc \
curl \
python
RUN apt-get install -y --no-install-recommends \
locales \
&& export LANG=en_US.UTF-8 \
&& echo $LANG UTF-8 > /etc/locale.gen \
&& locale-gen \
&& update-locale LANG=$LANG
ENV LANG=en_US.UTF-8 \
LANGUAGE=en_US.UTF-8 \
LC_ALL=en_US.UTF-8
VOLUME /data
VOLUME /build
COPY docker-entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
WORKDIR /data
ENTRYPOINT ["/entrypoint.sh"]
CMD ["make"]