Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Erlang 22.3.4.25 #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 21 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ MAINTAINER Adam Kittelson @adamkittelson
# is updated with the current date. It will force refresh of all
# of the base images and things like `apt-get update` won't be using
# old cached versions when the Dockerfile is built.
ENV REFRESHED_AT 2020-01-09
ENV REFRESHED_AT 2023-08-02

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

RUN echo "deb http://packages.erlang-solutions.com/ubuntu bionic contrib" >> /etc/apt/sources.list && \
apt-key adv --fetch-keys http://packages.erlang-solutions.com/ubuntu/erlang_solutions.asc && \
apt-get -qq update && apt-get install -y \
esl-erlang=1:22.2.8-1 \
RUN apt-get -qq update && apt-get install -y \
git \
unzip \
build-essential \
wget && \
wget \
libncurses5-dev \
libncursesw5-dev \
autoconf \
openssl \
libssl-dev \
fop \
xsltproc \
unixodbc-dev \
curl && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

RUN wget https://raw.githubusercontent.com/kerl/kerl/master/kerl && \
chmod a+x kerl && \
mv kerl /usr/local/bin/

RUN kerl build 22.3.4.25 22.3.4.25
RUN kerl install 22.3.4.25 /bin/22.3.4.25
RUN . /bin/22.3.4.25/activate
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

# Download and Install Specific Version of Elixir
WORKDIR /elixir
RUN wget -q https://github.com/elixir-lang/elixir/releases/download/v1.10.2/Precompiled.zip && \
Expand Down