@@ -12,7 +12,7 @@ MAINTAINER Adam Kittelson @adamkittelson
12
12
# is updated with the current date. It will force refresh of all
13
13
# of the base images and things like `apt-get update` won't be using
14
14
# old cached versions when the Dockerfile is built.
15
- ENV REFRESHED_AT 2020-01-09
15
+ ENV REFRESHED_AT 2023-08-02
16
16
17
17
# Use baseimage-docker's init system.
18
18
CMD ["/sbin/my_init" ]
@@ -33,16 +33,41 @@ RUN echo $(openssl version)
33
33
# See : https://github.com/phusion/baseimage-docker/issues/58
34
34
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
35
35
36
- RUN echo "deb http://packages.erlang-solutions.com/ubuntu bionic contrib" >> /etc/apt/sources.list && \
37
- apt-key adv --fetch-keys http://packages.erlang-solutions.com/ubuntu/erlang_solutions.asc && \
38
- apt-get -qq update && apt-get install -y \
39
- esl-erlang=1:22.2.8-1 \
36
+ # RUN echo "deb http://packages.erlang-solutions.com/ubuntu bionic contrib" >> /etc/apt/sources.list && \
37
+ # apt-key adv --fetch-keys http://packages.erlang-solutions.com/ubuntu/erlang_solutions.asc && \
38
+ # apt-get -qq update && apt-get install -y \
39
+ # esl-erlang=1:23.0 \
40
+ # git \
41
+ # unzip \
42
+ # build-essential \
43
+ # wget && \
44
+ # apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
45
+
46
+ RUN apt-get -qq update && apt-get install -y \
40
47
git \
41
48
unzip \
42
49
build-essential \
43
- wget && \
50
+ wget \
51
+ libncurses5-dev \
52
+ libncursesw5-dev \
53
+ autoconf \
54
+ openssl \
55
+ libssl-dev \
56
+ fop \
57
+ xsltproc \
58
+ unixodbc-dev \
59
+ curl && \
44
60
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
45
61
62
+ RUN wget https://raw.githubusercontent.com/kerl/kerl/master/kerl && \
63
+ chmod a+x kerl && \
64
+ mv kerl /usr/local/bin/
65
+
66
+ RUN kerl build 22.3.4.25 22.3.4.25
67
+ RUN kerl install 22.3.4.25 /bin/22.3.4.25
68
+ RUN . /bin/22.3.4.25/activate
69
+ ENV PATH=/bin/22.3.4.25/lib/erl_interface-3.13.2.2/bin:/bin/22.3.4.25/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
70
+
46
71
# Download and Install Specific Version of Elixir
47
72
WORKDIR /elixir
48
73
RUN wget -q https://github.com/elixir-lang/elixir/releases/download/v1.10.2/Precompiled.zip && \
0 commit comments