Skip to content

Commit

Permalink
Downgrade Rebar3 to 3.20.0 for OTP 22/23
Browse files Browse the repository at this point in the history
Rebar3 3.20.1 official deprecated support for OTP 23.

See:
- erlang#473
- https://github.com/erlang/rebar3/releases/tag/3.21.0
- erlang/rebar3#2791
  • Loading branch information
kianmeng committed Jun 23, 2024
1 parent 8b81283 commit 0dc679b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions 22/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
FROM buildpack-deps:buster

ENV OTP_VERSION="22.3.4.27" \
REBAR3_VERSION="3.23.0"
REBAR3_VERSION="3.20.0" \
REBAR_VERSION="2.6.4"

LABEL org.opencontainers.image.version=$OTP_VERSION

Expand Down Expand Up @@ -39,8 +40,6 @@ CMD ["erl"]

# extra useful tools here: rebar & rebar3

ENV REBAR_VERSION="2.6.4"

RUN set -xe \
&& REBAR_DOWNLOAD_URL="https://github.com/rebar/rebar/archive/${REBAR_VERSION}.tar.gz" \
&& REBAR_DOWNLOAD_SHA256="577246bafa2eb2b2c3f1d0c157408650446884555bf87901508ce71d5cc0bd07" \
Expand Down
5 changes: 2 additions & 3 deletions 23/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
FROM buildpack-deps:buster

ENV OTP_VERSION="23.3.4.20" \
REBAR3_VERSION="3.23.0"
REBAR3_VERSION="3.20.0" \
REBAR_VERSION="2.6.4"

LABEL org.opencontainers.image.version=$OTP_VERSION

Expand Down Expand Up @@ -40,8 +41,6 @@ CMD ["erl"]

# extra useful tools here: rebar & rebar3

ENV REBAR_VERSION="2.6.4"

RUN set -xe \
&& REBAR_DOWNLOAD_URL="https://github.com/rebar/rebar/archive/${REBAR_VERSION}.tar.gz" \
&& REBAR_DOWNLOAD_SHA256="577246bafa2eb2b2c3f1d0c157408650446884555bf87901508ce71d5cc0bd07" \
Expand Down

0 comments on commit 0dc679b

Please sign in to comment.