erlang / docker-erlang-otp

the Official Erlang OTP image on Docker Hub
https://hub.docker.com/_/erlang/
Apache License 2.0
183 stars 78 forks source link

Use Rebar3 3.18.0 for OTP 22 #476

Closed kianmeng closed 2 months ago

kianmeng commented 2 months ago

Starting from 3.19.0, Rebar3 only support OTP 23 to 25 inclusively. Hence, the last official supported Rebar3 for OTP 22 is 3.18.0.

See:

kianmeng commented 2 months ago

Encountered this error while using Rebar3 3.20.0 with OTP 22:

Run erlef/setup-beam@v1
Installing Erlang/OTP OTP-22.3.4.27 - built on amd64/ubuntu-20.04
Installing rebar3 3.20.0
  Installed Rebar3 version
  /home/runner/work/_temp/.setup-beam/rebar3/bin/rebar3 version
  escript: exception error: undefined function rebar3:main/1
    in function  escript:run/2 (escript.erl, line 758)
    in call from escript:start/1 (escript.erl, line 277)
    in call from init:start_em/1 
    in call from init:do_boot/3 
  Error: The process '/home/runner/work/_temp/.setup-beam/rebar3/bin/rebar3' failed with exit code [12](https://github.com/hexpm/hex_core/actions/runs/9659949838/job/26644420422#step:3:13)7

See https://github.com/hexpm/hex_core/actions/runs/9659949838/job/26644420422

kianmeng commented 2 months ago

:partying_face: :partying_face: :partying_face: :partying_face: :partying_face: