Skip to content

Commit 1bfdc91

Browse files
Test image building
1 parent f46d1d8 commit 1bfdc91

File tree

1 file changed

+31
-6
lines changed

1 file changed

+31
-6
lines changed

Dockerfile

Lines changed: 31 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ MAINTAINER Adam Kittelson @adamkittelson
1212
# is updated with the current date. It will force refresh of all
1313
# of the base images and things like `apt-get update` won't be using
1414
# old cached versions when the Dockerfile is built.
15-
ENV REFRESHED_AT 2020-01-09
15+
ENV REFRESHED_AT 2023-08-02
1616

1717
# Use baseimage-docker's init system.
1818
CMD ["/sbin/my_init"]
@@ -33,16 +33,41 @@ RUN echo $(openssl version)
3333
# See : https://github.com/phusion/baseimage-docker/issues/58
3434
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
3535

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 \
4047
git \
4148
unzip \
4249
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 && \
4460
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
4561

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+
4671
# Download and Install Specific Version of Elixir
4772
WORKDIR /elixir
4873
RUN wget -q https://github.com/elixir-lang/elixir/releases/download/v1.10.2/Precompiled.zip && \

0 commit comments

Comments
 (0)