grpc_bench
grpc_bench copied to clipboard
Elixir no longer compiles
Elixir build fails with:
#9 13.78 Processing triggers for libc-bin (2.31-13+deb11u5) ...
#9 DONE 14.7s
#10 [ 6/14] RUN mix local.hex --force
#10 17.89 ** (Mix) httpc request failed with: {:failed_connect, [{:to_address, {'repo.hex.pm', 443}}, {:inet6, [:inet6], :nxdomain}]}
#10 17.89
#10 17.89 Could not run archive.install for:
#10 17.89
#10 17.89 https://repo.hex.pm/installs/1.14.0/hex-2.0.6.ez
#10 17.89
#10 17.89 Please download the file above to your current directory and run:
#10 17.89
#10 17.89 mix archive.install ./hex-2.0.6.ez
#10 17.89
#10 17.89 You can download it either with your browser or via the command line.
#10 17.89
#10 17.89 On Unix-like operating systems (Linux, macOS):
#10 17.89
#10 17.89 wget https://repo.hex.pm/installs/1.14.0/hex-2.0.6.ez
#10 17.89
#10 17.89 or
#10 17.89
#10 17.89 curl -o hex-2.0.6.ez https://repo.hex.pm/installs/1.14.0/hex-2.0.6.ez
#10 17.89
#10 17.89 On Windows / PowerShell (Windows 7 or later):
#10 17.89
#10 17.89 powershell -Command "Invoke-WebRequest https://repo.hex.pm/installs/1.14.0/hex-2.0.6.ez -OutFile hex-2.0.6.ez"
#10 17.89
#10 17.89 or
#10 17.89
#10 17.89 powershell -Command "(New-Object Net.WebClient).DownloadFile('https://repo.hex.pm/installs/1.14.0/hex-2.0.6.ez', 'hex-2.0.6.ez')"
#10 17.89
#10 ERROR: process "/bin/sh -c mix local.hex --force" did not complete successfully: exit code: 1
------
> [ 6/14] RUN mix local.hex --force:
#10 17.89 curl -o hex-2.0.6.ez https://repo.hex.pm/installs/1.14.0/hex-2.0.6.ez
#10 17.89
#10 17.89 On Windows / PowerShell (Windows 7 or later):
#10 17.89
#10 17.89 powershell -Command "Invoke-WebRequest https://repo.hex.pm/installs/1.14.0/hex-2.0.6.ez -OutFile hex-2.0.6.ez"
#10 17.89
#10 17.89 or
#10 17.89
#10 17.89 powershell -Command "(New-Object Net.WebClient).DownloadFile('https://repo.hex.pm/installs/1.14.0/hex-2.0.6.ez', 'hex-2.0.6.ez')"
#10 17.89
------
Dockerfile:8
--------------------
6 |
7 | RUN apt update && apt install -y git protobuf-compiler
8 | >>> RUN mix local.hex --force
9 | RUN mix local.rebar --force
10 | RUN mix escript.install --force hex protobuf
--------------------
ERROR: failed to solve: process "/bin/sh -c mix local.hex --force" did not complete successfully: exit code: 1
Update the code (seems easy but this may be just the tip of an iceberg) to make it work again.
Looks to me like a temporary failure to reach https://repo.hex.pm