<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi!</div><div><br></div><div>I believe this has been reported already in  <a class="gmail-issue-link" href="https://bugs.erlang.org/browse/ERL-1237" id="gmail-key-val" rel="15301">ERL-1237</a><span class="gmail-issue-link">  and is fixed in master.</span></div><div><span class="gmail-issue-link"><br></span></div><div><span class="gmail-issue-link">Regards Ingela Erlang/OTP team - Ericsson AB<br></span></div></div><div dir="ltr"><br></div><div dir="ltr"><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Den tis 12 maj 2020 kl 22:30 skrev Richard Bowker <<a href="mailto:erlang@monkeygroover.com">erlang@monkeygroover.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi, I can successfully build an elixir app/release with a docker container using erlang:23.0-rc2 as the base<br>
<br>
start of Dockerfile reproduced here:<br>
<br>
FROM erlang:23.0-rc2 as elixir<br>
<br>
# elixir expects utf8.<br>
ENV ELIXIR_VERSION="v1.10.3" \<br>
        LANG=C.UTF-8<br>
<br>
RUN set -xe \<br>
        && ELIXIR_DOWNLOAD_URL="<a href="https://github.com/elixir-lang/elixir/archive/$%7BELIXIR_VERSION%7D.tar.gz" rel="noreferrer" target="_blank">https://github.com/elixir-lang/elixir/archive/${ELIXIR_VERSION}.tar.gz</a>" \<br>
        && ELIXIR_DOWNLOAD_SHA256="f3035fc5fdade35c3592a5fa7c8ee1aadb736f565c46b74b68ed7828b3ee1897" \<br>
        && curl -fSL -o elixir-src.tar.gz $ELIXIR_DOWNLOAD_URL \<br>
        && echo "$ELIXIR_DOWNLOAD_SHA256  elixir-src.tar.gz" | sha256sum -c - \<br>
        && mkdir -p /usr/local/src/elixir \<br>
        && tar -xzC /usr/local/src/elixir --strip-components=1 -f elixir-src.tar.gz \<br>
        && rm elixir-src.tar.gz \<br>
        && cd /usr/local/src/elixir \<br>
        && make install clean<br>
<br>
FROM elixir AS app_builder<br>
<br>
# The following are build arguments used to change variable parts of the image.<br>
# The name of your application/release (required)<br>
ARG APP_NAME<br>
# The version of the application we are building (required)<br>
ARG APP_VSN<br>
# The environment to build with<br>
ARG MIX_ENV=prod<br>
<br>
ENV APP_NAME=${APP_NAME} \<br>
    APP_VSN=${APP_VSN} \<br>
    MIX_ENV=${MIX_ENV}<br>
<br>
# Create the application build directory<br>
RUN mkdir /app<br>
WORKDIR /app<br>
<br>
# This step installs all the build tools we'll need<br>
RUN apt-get update && \<br>
  apt-get install -y \<br>
    git && \<br>
  mix local.rebar --force && \<br>
  mix local.hex --force<br>
<br>
<br>
<br>
<br>
... the rest of the file is app specific and not relevant to the issue<br>
<br>
however if I update the base container to rc3 (FROM erlang:23.0-rc3 as elixir) then at the local.hex step I'm now seeing the following:<br>
<br>
<br>
20:08:53.034 [info]  TLS :client: In state :certify at ssl_connection.erl:1052 generated CLIENT ALERT: Fatal - Decrypt Error<br>
<br>
** (Mix) httpc request failed with: {:failed_connect, [{:to_address, {'<a href="http://repo.hex.pm" rel="noreferrer" target="_blank">repo.hex.pm</a>', 443}}, {:inet, [:inet], {:tls_alert, {:decrypt_error, 'TLS client: In state certify at ssl_connection.erl:1052 generated CLIENT ALERT: Fatal - Decrypt Error\n'}}}]}<br>
<br>
Could not install Rebar because Mix could not download metadata at <a href="https://repo.hex.pm/installs/rebar-1.x.csv" rel="noreferrer" target="_blank">https://repo.hex.pm/installs/rebar-1.x.csv</a>.<br>
<br>
any ideas? <br>
<br>
cheers<br>
<br>
Rich<br>
<br>
<br>
</blockquote></div></div></div></div>