I can not install `hex` on 1.14.5-otp-25

I installed elixir 1.14.5-otp-25 and erlang 25.3.2.5 on ubuntu 22 on Docker in macos

$ apt-get install -y lsb-release wget curl gnupg2 vim sudo unzip build-essential openssl ca-certificates cargo netcat
$ apt-get install -y libtool inotify-tools libsecp256k1-dev automake autoconf libgmp-dev
$ apt-get install -y language-pack-en git
$ apt-get install -y libncurses5-dev libncursesw5-dev

RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash - &&
apt-get install -y nodejs

$ git clone GitHub - erlang/otp: Erlang/OTP && cd otp && git checkout OTP-25.3.2.5 && ./configure && make && make install

$ wget https://github.com/elixir-lang/elixir/releases/download/v1.14.5/elixir-otp-25.zip && unzip -d /usr/local/elixir/ elixir-otp-25.zip

$ elixir -v
Erlang/OTP 25 [erts-13.2.2.2] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [jit]
Elixir 1.14.5 (compiled with Erlang/OTP 25)

$ mix local.hex --force
warning: Jason.decode!/1 is undefined (module Jason is not available or is yet to be defined)
config/config_helper.exs:127: ConfigHelper.parse_json_env_var/2

01:41:18.926 [error] Task #PID<0.116.0> started from #PID<0.96.0> terminating
** (MatchError) no match of right hand side value: {:error, {:ssl, {‘no such file or directory’, ‘ssl.app’}}}
(mix 1.14.5) lib/mix/utils.ex:647: Mix.Utils.read_httpc/1
(mix 1.14.5) lib/mix/utils.ex:579: anonymous fn/2 in Mix.Utils.read_path/2
(elixir 1.14.5) lib/task/supervised.ex:89: Task.Supervised.invoke_mfa/2
(elixir 1.14.5) lib/task/supervised.ex:34: Task.Supervised.reply/4
(stdlib 4.3.1.2) proc_lib.erl:240: :proc_lib.init_p_do_apply/3
Function: #Function<5.41389915/0 in Mix.Utils.read_path/2>
Args: []

I can not install hex , what do I do?
thanks.

RT.

Probable relevant output from running: openssl s_client -connect repo.hex.pm:443 -servername repo.hex.pm

---
Certificate chain
 0 s:CN = repo.hex.pm
   i:C = BE, O = GlobalSign nv-sa, CN = GlobalSign Atlas R3 DV TLS CA 2023 Q2
   a:PKEY: rsaEncryption, 2048 (bit); sigalg: RSA-SHA256
   v:NotBefore: Jul  2 01:48:39 2023 GMT; NotAfter: Aug  2 01:48:38 2024 GMT
 1 s:C = BE, O = GlobalSign nv-sa, CN = GlobalSign Atlas R3 DV TLS CA 2023 Q2
   i:OU = GlobalSign Root CA - R3, O = GlobalSign, CN = GlobalSign
   a:PKEY: rsaEncryption, 2048 (bit); sigalg: RSA-SHA256
   v:NotBefore: Jan 18 03:36:52 2023 GMT; NotAfter: Jan 18 00:00:00 2025 GMT
---

Note the: NotAfter: Aug 2 01:48:38 2024 GMT

Is this a problem from my local machine?

I solved this problem by installing required libraries.

$ apt-get install -y libncurses5-dev libncursesw5-dev libwxbase* libwxgtk* wx3* libssh-dev
$ git clone GitHub - erlang/otp: Erlang/OTP && cd otp &&
git checkout OTP-25.3.2.5 &&
./configure && make && make install && cd -

Sadly, it’s unresolved for me and apt-get is not an option. I’m on a Windows PC.

I’ll make a separate post to try to get help resolving it.