From 224c1397e279d65fe7fb1e145d9f2225cc5691e5 Mon Sep 17 00:00:00 2001 From: Carlos Date: Wed, 24 Apr 2019 00:03:53 -0300 Subject: [PATCH 01/13] Create recipe elixir recipe elixir --- recipes/elixir/Dockerfile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 recipes/elixir/Dockerfile diff --git a/recipes/elixir/Dockerfile b/recipes/elixir/Dockerfile new file mode 100644 index 00000000..31c76d19 --- /dev/null +++ b/recipes/elixir/Dockerfile @@ -0,0 +1,21 @@ +FROM eclipse/stack-base:ubuntu +ENV ERLANG_VERSION 21.3 +ENV ELIXIR_VERSION 1.8 + +RUN git clone https://github.com/asdf-vm/asdf.git ~/.asdf && \ + cd ~/.asdf && \ + git checkout "$(git describe --abbrev=0 --tags)" && \ + sudo apt-get -y install \ + automake autoconf libreadline-dev \ + libncurses-dev libssl-dev libyaml-dev \ + libxslt-dev libffi-dev libtool unixodbc-dev \ + unzip curl make && \ + sudo apt-get -y clean && \ + sudo rm -rf /var/lib/apt/lists/* && \ + source ~/.bashrc && \ + asdf plugin-add erlang && \ + asdf install erlang ERLANG_VERSION && \ + asdf global erlang ERLANG_VERSION && \ + asdf plugin-add elixir && \ + asdf install elixir ELIXIR_VERSION && \ + asdf global elixir ELIXIR_VERSION From cc9e03d6af3e26cb62dd6e1929fc9884bbf031ce Mon Sep 17 00:00:00 2001 From: Carlos Date: Wed, 24 Apr 2019 00:17:28 -0300 Subject: [PATCH 02/13] Update repository package --- recipes/elixir/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes/elixir/Dockerfile b/recipes/elixir/Dockerfile index 31c76d19..13adc0f6 100644 --- a/recipes/elixir/Dockerfile +++ b/recipes/elixir/Dockerfile @@ -5,6 +5,7 @@ ENV ELIXIR_VERSION 1.8 RUN git clone https://github.com/asdf-vm/asdf.git ~/.asdf && \ cd ~/.asdf && \ git checkout "$(git describe --abbrev=0 --tags)" && \ + sudo apt-get -y update && \ sudo apt-get -y install \ automake autoconf libreadline-dev \ libncurses-dev libssl-dev libyaml-dev \ From 9133d1b299a4bd86d6ab70318617c30b5c199732 Mon Sep 17 00:00:00 2001 From: Carlos Date: Wed, 24 Apr 2019 00:37:52 -0300 Subject: [PATCH 03/13] Fix setup of asdf version manager --- recipes/elixir/Dockerfile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/recipes/elixir/Dockerfile b/recipes/elixir/Dockerfile index 13adc0f6..cd6c104d 100644 --- a/recipes/elixir/Dockerfile +++ b/recipes/elixir/Dockerfile @@ -13,10 +13,12 @@ RUN git clone https://github.com/asdf-vm/asdf.git ~/.asdf && \ unzip curl make && \ sudo apt-get -y clean && \ sudo rm -rf /var/lib/apt/lists/* && \ + echo -e '\n. $HOME/.asdf/asdf.sh' >> ~/.bashrc && \ + echo -e '\n. $HOME/.asdf/completions/asdf.bash' >> ~/.bashrc && \ source ~/.bashrc && \ asdf plugin-add erlang && \ - asdf install erlang ERLANG_VERSION && \ - asdf global erlang ERLANG_VERSION && \ + asdf install erlang $ERLANG_VERSION && \ + asdf global erlang $ERLANG_VERSION && \ asdf plugin-add elixir && \ - asdf install elixir ELIXIR_VERSION && \ - asdf global elixir ELIXIR_VERSION + asdf install elixir $ELIXIR_VERSION && \ + asdf global elixir $ELIXIR_VERSION From 6943a2a695334fc4ca09ab8faedcc178e8d51910 Mon Sep 17 00:00:00 2001 From: Carlos Date: Wed, 24 Apr 2019 18:59:21 -0300 Subject: [PATCH 04/13] Install elixir and erlang KISS way --- recipes/elixir/Dockerfile | 24 +++++------------------- 1 file changed, 5 insertions(+), 19 deletions(-) diff --git a/recipes/elixir/Dockerfile b/recipes/elixir/Dockerfile index cd6c104d..24749f46 100644 --- a/recipes/elixir/Dockerfile +++ b/recipes/elixir/Dockerfile @@ -1,24 +1,10 @@ FROM eclipse/stack-base:ubuntu -ENV ERLANG_VERSION 21.3 -ENV ELIXIR_VERSION 1.8 -RUN git clone https://github.com/asdf-vm/asdf.git ~/.asdf && \ - cd ~/.asdf && \ - git checkout "$(git describe --abbrev=0 --tags)" && \ +RUN wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb && \ + sudo dpkg -i erlang-solutions_1.0_all.deb && \ sudo apt-get -y update && \ - sudo apt-get -y install \ - automake autoconf libreadline-dev \ - libncurses-dev libssl-dev libyaml-dev \ - libxslt-dev libffi-dev libtool unixodbc-dev \ - unzip curl make && \ + sudo apt-get --allow-unauthenticated install -y esl-erlang && \ + sudo apt-get install -y elixir && \ sudo apt-get -y clean && \ sudo rm -rf /var/lib/apt/lists/* && \ - echo -e '\n. $HOME/.asdf/asdf.sh' >> ~/.bashrc && \ - echo -e '\n. $HOME/.asdf/completions/asdf.bash' >> ~/.bashrc && \ - source ~/.bashrc && \ - asdf plugin-add erlang && \ - asdf install erlang $ERLANG_VERSION && \ - asdf global erlang $ERLANG_VERSION && \ - asdf plugin-add elixir && \ - asdf install elixir $ELIXIR_VERSION && \ - asdf global elixir $ELIXIR_VERSION + rm -rf erlang-solutions_1.0_all.deb From 835f50a3a7dd6f7ba23327417c793d7c397ddf89 Mon Sep 17 00:00:00 2001 From: Carlos Date: Thu, 25 Apr 2019 01:16:18 -0300 Subject: [PATCH 05/13] Using version manager asdf Best control to elixir and Erlang version. Easily maintain the image --- recipes/elixir/Dockerfile | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/recipes/elixir/Dockerfile b/recipes/elixir/Dockerfile index 24749f46..46115308 100644 --- a/recipes/elixir/Dockerfile +++ b/recipes/elixir/Dockerfile @@ -1,10 +1,25 @@ FROM eclipse/stack-base:ubuntu -RUN wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb && \ - sudo dpkg -i erlang-solutions_1.0_all.deb && \ +ENV ASDF_HOME $HOME/.asdf/ +ENV ERLANG_VERSION 21.3 +ENV ELIXIR_VERSION 1.8 + +RUN git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.7.1 && \ + echo "$HOME/.asdf/asdf.sh" >> ~/.bashrc && \ + echo "$HOME/.asdf/completions/asdf.bash" >> ~/.bashrc && \ sudo apt-get -y update && \ - sudo apt-get --allow-unauthenticated install -y esl-erlang && \ - sudo apt-get install -y elixir && \ + sudo apt-get -y install \ + automake autoconf libreadline-dev \ + libncurses-dev libssl-dev libyaml-dev \ + libxslt-dev libffi-dev libtool unixodbc-dev \ + unzip curl make && \ sudo apt-get -y clean && \ sudo rm -rf /var/lib/apt/lists/* && \ - rm -rf erlang-solutions_1.0_all.deb + /bin/bash -c "source $ASDF_HOME/asdf.sh && \ + source $ASDF_HOME/completions/asdf.bash && \ + asdf plugin-add erlang && \ + asdf plugin-add elixir && \ + asdf install erlang $ERLANG_VERSION && \ + asdf global erlang $ERLANG_VERSION && \ + asdf install elixir $ELIXIR_VERSION && \ + asdf global elixir $ELIXIR_VERSION" From 70731bd395476072c172eee160fa2a01466cfc29 Mon Sep 17 00:00:00 2001 From: krlsdu Date: Fri, 26 Apr 2019 15:23:01 -0300 Subject: [PATCH 06/13] Install using apt manager package Step back because the time to create the docker Image take long time. --- recipes/elixir/Dockerfile | 33 +++++++++------------------------ 1 file changed, 9 insertions(+), 24 deletions(-) diff --git a/recipes/elixir/Dockerfile b/recipes/elixir/Dockerfile index 46115308..d72f3bea 100644 --- a/recipes/elixir/Dockerfile +++ b/recipes/elixir/Dockerfile @@ -1,25 +1,10 @@ -FROM eclipse/stack-base:ubuntu + FROM eclipse/stack-base:ubuntu -ENV ASDF_HOME $HOME/.asdf/ -ENV ERLANG_VERSION 21.3 -ENV ELIXIR_VERSION 1.8 - -RUN git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.7.1 && \ - echo "$HOME/.asdf/asdf.sh" >> ~/.bashrc && \ - echo "$HOME/.asdf/completions/asdf.bash" >> ~/.bashrc && \ - sudo apt-get -y update && \ - sudo apt-get -y install \ - automake autoconf libreadline-dev \ - libncurses-dev libssl-dev libyaml-dev \ - libxslt-dev libffi-dev libtool unixodbc-dev \ - unzip curl make && \ - sudo apt-get -y clean && \ - sudo rm -rf /var/lib/apt/lists/* && \ - /bin/bash -c "source $ASDF_HOME/asdf.sh && \ - source $ASDF_HOME/completions/asdf.bash && \ - asdf plugin-add erlang && \ - asdf plugin-add elixir && \ - asdf install erlang $ERLANG_VERSION && \ - asdf global erlang $ERLANG_VERSION && \ - asdf install elixir $ELIXIR_VERSION && \ - asdf global elixir $ELIXIR_VERSION" + RUN wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb && \ + sudo dpkg -i erlang-solutions_1.0_all.deb && \ + sudo apt-get -y update && \ + sudo apt-get --allow-unauthenticated install -y esl-erlang && \ + sudo apt-get install -y elixir && \ + sudo apt-get -y clean && \ + sudo rm -rf /var/lib/apt/lists/* && \ + rm -rf erlang-solutions_1.0_all.deb \ No newline at end of file From 22c9f7370bb03a9a06958a35be0e4af7cffda20b Mon Sep 17 00:00:00 2001 From: Carlos Date: Fri, 26 Apr 2019 16:35:08 -0300 Subject: [PATCH 07/13] Update Dockerfile --- recipes/elixir/Dockerfile | 33 ++++++++++++++++++++++++--------- 1 file changed, 24 insertions(+), 9 deletions(-) diff --git a/recipes/elixir/Dockerfile b/recipes/elixir/Dockerfile index d72f3bea..46115308 100644 --- a/recipes/elixir/Dockerfile +++ b/recipes/elixir/Dockerfile @@ -1,10 +1,25 @@ - FROM eclipse/stack-base:ubuntu +FROM eclipse/stack-base:ubuntu - RUN wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb && \ - sudo dpkg -i erlang-solutions_1.0_all.deb && \ - sudo apt-get -y update && \ - sudo apt-get --allow-unauthenticated install -y esl-erlang && \ - sudo apt-get install -y elixir && \ - sudo apt-get -y clean && \ - sudo rm -rf /var/lib/apt/lists/* && \ - rm -rf erlang-solutions_1.0_all.deb \ No newline at end of file +ENV ASDF_HOME $HOME/.asdf/ +ENV ERLANG_VERSION 21.3 +ENV ELIXIR_VERSION 1.8 + +RUN git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.7.1 && \ + echo "$HOME/.asdf/asdf.sh" >> ~/.bashrc && \ + echo "$HOME/.asdf/completions/asdf.bash" >> ~/.bashrc && \ + sudo apt-get -y update && \ + sudo apt-get -y install \ + automake autoconf libreadline-dev \ + libncurses-dev libssl-dev libyaml-dev \ + libxslt-dev libffi-dev libtool unixodbc-dev \ + unzip curl make && \ + sudo apt-get -y clean && \ + sudo rm -rf /var/lib/apt/lists/* && \ + /bin/bash -c "source $ASDF_HOME/asdf.sh && \ + source $ASDF_HOME/completions/asdf.bash && \ + asdf plugin-add erlang && \ + asdf plugin-add elixir && \ + asdf install erlang $ERLANG_VERSION && \ + asdf global erlang $ERLANG_VERSION && \ + asdf install elixir $ELIXIR_VERSION && \ + asdf global elixir $ELIXIR_VERSION" From 386e56896b003e85737a7cec4bcd49d68827dc41 Mon Sep 17 00:00:00 2001 From: Carlos Date: Fri, 26 Apr 2019 16:57:36 -0300 Subject: [PATCH 08/13] Update Dockerfile Add variable to manager version of erlang-solutions --- recipes/elixir/Dockerfile | 33 ++++++++++----------------------- 1 file changed, 10 insertions(+), 23 deletions(-) diff --git a/recipes/elixir/Dockerfile b/recipes/elixir/Dockerfile index 46115308..e5f837ad 100644 --- a/recipes/elixir/Dockerfile +++ b/recipes/elixir/Dockerfile @@ -1,25 +1,12 @@ -FROM eclipse/stack-base:ubuntu +FROM eclipse/stack-base:ubuntu -ENV ASDF_HOME $HOME/.asdf/ -ENV ERLANG_VERSION 21.3 -ENV ELIXIR_VERSION 1.8 +ENV ERLANG_VERSION 1.0 -RUN git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.7.1 && \ - echo "$HOME/.asdf/asdf.sh" >> ~/.bashrc && \ - echo "$HOME/.asdf/completions/asdf.bash" >> ~/.bashrc && \ - sudo apt-get -y update && \ - sudo apt-get -y install \ - automake autoconf libreadline-dev \ - libncurses-dev libssl-dev libyaml-dev \ - libxslt-dev libffi-dev libtool unixodbc-dev \ - unzip curl make && \ - sudo apt-get -y clean && \ - sudo rm -rf /var/lib/apt/lists/* && \ - /bin/bash -c "source $ASDF_HOME/asdf.sh && \ - source $ASDF_HOME/completions/asdf.bash && \ - asdf plugin-add erlang && \ - asdf plugin-add elixir && \ - asdf install erlang $ERLANG_VERSION && \ - asdf global erlang $ERLANG_VERSION && \ - asdf install elixir $ELIXIR_VERSION && \ - asdf global elixir $ELIXIR_VERSION" +RUN wget https://packages.erlang-solutions.com/erlang-solutions_$ERLANG_VERSION_all.deb && \ + sudo dpkg -i erlang-solutions_$ERLANG_VERSION_all.deb && \ + sudo apt-get -y update && \ + sudo apt-get --allow-unauthenticated install -y esl-erlang && \ + sudo apt-get install -y elixir && \ + sudo apt-get -y clean && \ + sudo rm -rf /var/lib/apt/lists/* && \ + rm -rf erlang-solutions_$ERLANG_VERSION_all.deb From a9aaded1e3be7d1a9521b5e2abf87035eeb51415 Mon Sep 17 00:00:00 2001 From: Carlos Date: Fri, 26 Apr 2019 17:06:30 -0300 Subject: [PATCH 09/13] Fix environment variable set --- recipes/elixir/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes/elixir/Dockerfile b/recipes/elixir/Dockerfile index e5f837ad..519fab55 100644 --- a/recipes/elixir/Dockerfile +++ b/recipes/elixir/Dockerfile @@ -2,11 +2,11 @@ FROM eclipse/stack-base:ubuntu ENV ERLANG_VERSION 1.0 -RUN wget https://packages.erlang-solutions.com/erlang-solutions_$ERLANG_VERSION_all.deb && \ - sudo dpkg -i erlang-solutions_$ERLANG_VERSION_all.deb && \ +RUN wget https://packages.erlang-solutions.com/erlang-solutions_"$ERLANG_VERSION"_all.deb && \ + sudo dpkg -i erlang-solutions_"$ERLANG_VERSION"_all.deb && \ sudo apt-get -y update && \ sudo apt-get --allow-unauthenticated install -y esl-erlang && \ sudo apt-get install -y elixir && \ sudo apt-get -y clean && \ sudo rm -rf /var/lib/apt/lists/* && \ - rm -rf erlang-solutions_$ERLANG_VERSION_all.deb + rm -rf erlang-solutions_"$ERLANG_VERSION"_all.deb From a6ea8ea03a7e1ff8d8fba90837081a896fcd58c5 Mon Sep 17 00:00:00 2001 From: Carlos Date: Fri, 26 Apr 2019 18:54:53 -0300 Subject: [PATCH 10/13] Using multi layer --- recipes/elixir/Dockerfile | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/recipes/elixir/Dockerfile b/recipes/elixir/Dockerfile index 519fab55..58e946d4 100644 --- a/recipes/elixir/Dockerfile +++ b/recipes/elixir/Dockerfile @@ -1,12 +1,16 @@ -FROM eclipse/stack-base:ubuntu +ARG ELIXIR_VERSION="1.8" +FROM elixir:${ELIXIR_VERSION} as elixir_image -ENV ERLANG_VERSION 1.0 +FROM eclipse/stack-base:ubuntu +ARG ERLANG_VERSION=1.0 -RUN wget https://packages.erlang-solutions.com/erlang-solutions_"$ERLANG_VERSION"_all.deb && \ - sudo dpkg -i erlang-solutions_"$ERLANG_VERSION"_all.deb && \ - sudo apt-get -y update && \ - sudo apt-get --allow-unauthenticated install -y esl-erlang && \ - sudo apt-get install -y elixir && \ - sudo apt-get -y clean && \ - sudo rm -rf /var/lib/apt/lists/* && \ - rm -rf erlang-solutions_"$ERLANG_VERSION"_all.deb +COPY --from=elixir_image /usr/local/src/elixir /usr/local/src/elixir +RUN wget https://packages.erlang-solutions.com/erlang-solutions_"$ERLANG_VERSION"_all.deb \ +&& sudo dpkg -i erlang-solutions_"$ERLANG_VERSION"_all.deb \ +&& sudo apt-get -y update \ +&& sudo apt-get --allow-unauthenticated install -y esl-erlang make\ +&& sudo rm erlang-solutions_"$ERLANG_VERSION"_all.deb \ +&& cd /usr/local/src/elixir \ +&& sudo make -s install clean \ +&& sudo apt-get -y clean \ +&& sudo rm -rf /var/lib/apt/lists/* From c792384d5c01cc10794b9a8aabb29096cab18423 Mon Sep 17 00:00:00 2001 From: Carlos Date: Fri, 26 Apr 2019 19:21:43 -0300 Subject: [PATCH 11/13] Install erlang and elixr using apt-get Install erlang and elixir using apt-get and permit multiples version from these languages. --- recipes/elixir/Dockerfile | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/recipes/elixir/Dockerfile b/recipes/elixir/Dockerfile index 58e946d4..08d4ab31 100644 --- a/recipes/elixir/Dockerfile +++ b/recipes/elixir/Dockerfile @@ -1,16 +1,16 @@ -ARG ELIXIR_VERSION="1.8" -FROM elixir:${ELIXIR_VERSION} as elixir_image - FROM eclipse/stack-base:ubuntu -ARG ERLANG_VERSION=1.0 -COPY --from=elixir_image /usr/local/src/elixir /usr/local/src/elixir +ARG ELIXIR_VERSION="1.8.1" +ARG ERLANG_VERSION="1.0" + RUN wget https://packages.erlang-solutions.com/erlang-solutions_"$ERLANG_VERSION"_all.deb \ && sudo dpkg -i erlang-solutions_"$ERLANG_VERSION"_all.deb \ && sudo apt-get -y update \ -&& sudo apt-get --allow-unauthenticated install -y esl-erlang make\ -&& sudo rm erlang-solutions_"$ERLANG_VERSION"_all.deb \ -&& cd /usr/local/src/elixir \ -&& sudo make -s install clean \ +&& sudo apt-get --allow-unauthenticated install -y esl-erlang \ + +&& wget https://packages.erlang-solutions.com/erlang/elixir/FLAVOUR_2_download/elixir_"$ELIXIR_VERSION"-2~ubuntu~xenial_amd64.deb \ +&& sudo dpkg -i elixir_"$ELIXIR_VERSION"-2~ubuntu~xenial_amd64.deb \ +&& sudo apt-get --allow-unauthenticated install -y elixir \ + && sudo apt-get -y clean \ -&& sudo rm -rf /var/lib/apt/lists/* +&& sudo rm -rf /var/lib/apt/lists From 49445f02381a961195cb73682893aefde883e0d3 Mon Sep 17 00:00:00 2001 From: Carlos Date: Sat, 27 Apr 2019 00:35:46 -0300 Subject: [PATCH 12/13] Less verbose the builder and clean code --- recipes/elixir/Dockerfile | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/recipes/elixir/Dockerfile b/recipes/elixir/Dockerfile index 08d4ab31..a7f94bde 100644 --- a/recipes/elixir/Dockerfile +++ b/recipes/elixir/Dockerfile @@ -1,16 +1,20 @@ FROM eclipse/stack-base:ubuntu - ARG ELIXIR_VERSION="1.8.1" ARG ERLANG_VERSION="1.0" +ARG DEBIAN_FRONTEND=noninteractive -RUN wget https://packages.erlang-solutions.com/erlang-solutions_"$ERLANG_VERSION"_all.deb \ -&& sudo dpkg -i erlang-solutions_"$ERLANG_VERSION"_all.deb \ -&& sudo apt-get -y update \ -&& sudo apt-get --allow-unauthenticated install -y esl-erlang \ +USER root -&& wget https://packages.erlang-solutions.com/erlang/elixir/FLAVOUR_2_download/elixir_"$ELIXIR_VERSION"-2~ubuntu~xenial_amd64.deb \ -&& sudo dpkg -i elixir_"$ELIXIR_VERSION"-2~ubuntu~xenial_amd64.deb \ -&& sudo apt-get --allow-unauthenticated install -y elixir \ +RUN wget -q https://packages.erlang-solutions.com/erlang-solutions_"$ERLANG_VERSION"_all.deb \ +&& apt-get -qq install ./erlang-solutions_"$ERLANG_VERSION"_all.deb \ +&& apt-get -qq update \ +&& apt-get -qq --allow-unauthenticated install esl-erlang \ +&& wget -q https://packages.erlang-solutions.com/erlang/elixir/FLAVOUR_2_download/elixir_"$ELIXIR_VERSION"-2~ubuntu~xenial_amd64.deb \ +&& apt-get -qq install ./elixir_"$ELIXIR_VERSION"-2~ubuntu~xenial_amd64.deb \ +&& apt-get -qq update \ +&& apt-get -qq install --allow-unauthenticated elixir \ +&& apt-get -qq clean \ +&& rm -rf /var/lib/apt/lists \ +&& rm -rf /projects/*.deb -&& sudo apt-get -y clean \ -&& sudo rm -rf /var/lib/apt/lists +USER user From c571d390eb8aa0c8aeaec53db75da6a0110f3173 Mon Sep 17 00:00:00 2001 From: Carlos Date: Sat, 27 Apr 2019 00:44:35 -0300 Subject: [PATCH 13/13] Remove unecessary step --- recipes/elixir/Dockerfile | 1 - 1 file changed, 1 deletion(-) diff --git a/recipes/elixir/Dockerfile b/recipes/elixir/Dockerfile index a7f94bde..2c60b385 100644 --- a/recipes/elixir/Dockerfile +++ b/recipes/elixir/Dockerfile @@ -12,7 +12,6 @@ RUN wget -q https://packages.erlang-solutions.com/erlang-solutions_"$ERLANG_VERS && wget -q https://packages.erlang-solutions.com/erlang/elixir/FLAVOUR_2_download/elixir_"$ELIXIR_VERSION"-2~ubuntu~xenial_amd64.deb \ && apt-get -qq install ./elixir_"$ELIXIR_VERSION"-2~ubuntu~xenial_amd64.deb \ && apt-get -qq update \ -&& apt-get -qq install --allow-unauthenticated elixir \ && apt-get -qq clean \ && rm -rf /var/lib/apt/lists \ && rm -rf /projects/*.deb