Skip to content

Commit cfe73a4

Browse files
committed
Download official source packages, not tar.gz generated by github
Let's download the 24, 25 and 26 source package similarly to how 27 and 28 already do, as implemented in commit 838581d For any git tag, github automatically generates a source package named https://github.com/erlang/otp/archive/refs/tags/OTP-26.2.5.11.tar.gz But the source package mentioned in https://www.erlang.org/downloads in SHA256.txt and in MD5.txt is https://github.com/erlang/otp/releases/download/OTP-26.2.5.11/otp_src_26.2.5.11.tar.gz
1 parent 883b3ea commit cfe73a4

File tree

9 files changed

+18
-18
lines changed

9 files changed

+18
-18
lines changed

24/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ LABEL org.opencontainers.image.version=$OTP_VERSION
88
# We'll install the build dependencies for erlang-odbc along with the erlang
99
# build process:
1010
RUN set -xe \
11-
&& OTP_DOWNLOAD_URL="https://github.com/erlang/otp/archive/OTP-${OTP_VERSION}.tar.gz" \
12-
&& OTP_DOWNLOAD_SHA256="35f88a3af4d4885c5c17bcb8611da2d19f0626faa277392cd39c445254c015a2" \
11+
&& OTP_DOWNLOAD_URL="https://github.com/erlang/otp/releases/download/OTP-${OTP_VERSION}/otp_src_${OTP_VERSION}.tar.gz" \
12+
&& OTP_DOWNLOAD_SHA256="0bf449184ef4ca71f9af79fc086d941f4532922e01957e84a4fec192c2db5c0c" \
1313
&& runtimeDeps='libodbc1 \
1414
libsctp1 \
1515
libwxgtk3.0 \

24/alpine/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ ENV OTP_VERSION="24.3.4.17" \
66
LABEL org.opencontainers.image.version=$OTP_VERSION
77

88
RUN set -xe \
9-
&& OTP_DOWNLOAD_URL="https://github.com/erlang/otp/archive/OTP-${OTP_VERSION}.tar.gz" \
10-
&& OTP_DOWNLOAD_SHA256="35f88a3af4d4885c5c17bcb8611da2d19f0626faa277392cd39c445254c015a2" \
9+
&& OTP_DOWNLOAD_URL="https://github.com/erlang/otp/releases/download/OTP-${OTP_VERSION}/otp_src_${OTP_VERSION}.tar.gz" \
10+
&& OTP_DOWNLOAD_SHA256="0bf449184ef4ca71f9af79fc086d941f4532922e01957e84a4fec192c2db5c0c" \
1111
&& REBAR3_DOWNLOAD_SHA256="00646b692762ffd340560e8f16486dbda840e1546749ee5a7f58feeb77e7b516" \
1212
&& apk add --no-cache --virtual .fetch-deps \
1313
curl \

24/slim/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ LABEL org.opencontainers.image.version=$OTP_VERSION
88
# We'll install the build dependencies, and purge them on the last step to make
99
# sure our final image contains only what we've just built:
1010
RUN set -xe \
11-
&& OTP_DOWNLOAD_URL="https://github.com/erlang/otp/archive/OTP-${OTP_VERSION}.tar.gz" \
12-
&& OTP_DOWNLOAD_SHA256="35f88a3af4d4885c5c17bcb8611da2d19f0626faa277392cd39c445254c015a2" \
11+
&& OTP_DOWNLOAD_URL="https://github.com/erlang/otp/releases/download/OTP-${OTP_VERSION}/otp_src_${OTP_VERSION}.tar.gz" \
12+
&& OTP_DOWNLOAD_SHA256="0bf449184ef4ca71f9af79fc086d941f4532922e01957e84a4fec192c2db5c0c" \
1313
&& fetchDeps=' \
1414
curl \
1515
ca-certificates' \

25/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ LABEL org.opencontainers.image.version=$OTP_VERSION
88
# We'll install the build dependencies for erlang-odbc along with the erlang
99
# build process:
1010
RUN set -xe \
11-
&& OTP_DOWNLOAD_URL="https://github.com/erlang/otp/archive/OTP-${OTP_VERSION}.tar.gz" \
12-
&& OTP_DOWNLOAD_SHA256="513bd9d2fc9c792984314feead5d971bb19e6ee531b4e208d4d4fd30774523f6" \
11+
&& OTP_DOWNLOAD_URL="https://github.com/erlang/otp/releases/download/OTP-${OTP_VERSION}/otp_src_${OTP_VERSION}.tar.gz" \
12+
&& OTP_DOWNLOAD_SHA256="9dda848291428c02d8373f32da5dabf7c1a1478d9cba268fa85475eb26371fe7" \
1313
&& runtimeDeps='libodbc1 \
1414
libsctp1 \
1515
libwxgtk3.0 \

25/alpine/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ ENV OTP_VERSION="25.3.2.20" \
66
LABEL org.opencontainers.image.version=$OTP_VERSION
77

88
RUN set -xe \
9-
&& OTP_DOWNLOAD_URL="https://github.com/erlang/otp/archive/OTP-${OTP_VERSION}.tar.gz" \
10-
&& OTP_DOWNLOAD_SHA256="513bd9d2fc9c792984314feead5d971bb19e6ee531b4e208d4d4fd30774523f6" \
9+
&& OTP_DOWNLOAD_URL="https://github.com/erlang/otp/releases/download/OTP-${OTP_VERSION}/otp_src_${OTP_VERSION}.tar.gz" \
10+
&& OTP_DOWNLOAD_SHA256="9dda848291428c02d8373f32da5dabf7c1a1478d9cba268fa85475eb26371fe7" \
1111
&& REBAR3_DOWNLOAD_SHA256="391b0eaa2825bb427fef1e55a0d166493059175f57a33b00346b84a20398216c" \
1212
&& apk add --no-cache --virtual .fetch-deps \
1313
curl \

25/slim/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ LABEL org.opencontainers.image.version=$OTP_VERSION
88
# We'll install the build dependencies, and purge them on the last step to make
99
# sure our final image contains only what we've just built:
1010
RUN set -xe \
11-
&& OTP_DOWNLOAD_URL="https://github.com/erlang/otp/archive/OTP-${OTP_VERSION}.tar.gz" \
12-
&& OTP_DOWNLOAD_SHA256="513bd9d2fc9c792984314feead5d971bb19e6ee531b4e208d4d4fd30774523f6" \
11+
&& OTP_DOWNLOAD_URL="https://github.com/erlang/otp/releases/download/OTP-${OTP_VERSION}/otp_src_${OTP_VERSION}.tar.gz" \
12+
&& OTP_DOWNLOAD_SHA256="9dda848291428c02d8373f32da5dabf7c1a1478d9cba268fa85475eb26371fe7" \
1313
&& fetchDeps=' \
1414
curl \
1515
ca-certificates' \

26/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ LABEL org.opencontainers.image.version=$OTP_VERSION
88
# We'll install the build dependencies for erlang-odbc along with the erlang
99
# build process:
1010
RUN set -xe \
11-
&& OTP_DOWNLOAD_URL="https://github.com/erlang/otp/archive/OTP-${OTP_VERSION}.tar.gz" \
12-
&& OTP_DOWNLOAD_SHA256="2eef7aac690a6cedfe0e6a20fc2d700db3490b4e4249683c0e5b812ad71304ed" \
11+
&& OTP_DOWNLOAD_URL="https://github.com/erlang/otp/releases/download/OTP-${OTP_VERSION}/otp_src_${OTP_VERSION}.tar.gz" \
12+
&& OTP_DOWNLOAD_SHA256="69cf6c2cc4e54e8d0bab8f9893f0b61dee10bff575c3535d47b6057a468751b1" \
1313
&& runtimeDeps='libodbc1 \
1414
libsctp1 \
1515
libwxgtk3.2-1 \

26/alpine/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ ENV OTP_VERSION="26.2.5.11" \
66
LABEL org.opencontainers.image.version=$OTP_VERSION
77

88
RUN set -xe \
9-
&& OTP_DOWNLOAD_URL="https://github.com/erlang/otp/archive/OTP-${OTP_VERSION}.tar.gz" \
10-
&& OTP_DOWNLOAD_SHA256="2eef7aac690a6cedfe0e6a20fc2d700db3490b4e4249683c0e5b812ad71304ed" \
9+
&& OTP_DOWNLOAD_URL="https://github.com/erlang/otp/releases/download/OTP-${OTP_VERSION}/otp_src_${OTP_VERSION}.tar.gz" \
10+
&& OTP_DOWNLOAD_SHA256="69cf6c2cc4e54e8d0bab8f9893f0b61dee10bff575c3535d47b6057a468751b1" \
1111
&& REBAR3_DOWNLOAD_SHA256="7d3f42dc0e126e18fb73e4366129f11dd37bad14d404f461e0a3129ce8903440" \
1212
&& apk add --no-cache --virtual .fetch-deps \
1313
curl \

26/slim/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ LABEL org.opencontainers.image.version=$OTP_VERSION
88
# We'll install the build dependencies, and purge them on the last step to make
99
# sure our final image contains only what we've just built:
1010
RUN set -xe \
11-
&& OTP_DOWNLOAD_URL="https://github.com/erlang/otp/archive/OTP-${OTP_VERSION}.tar.gz" \
12-
&& OTP_DOWNLOAD_SHA256="2eef7aac690a6cedfe0e6a20fc2d700db3490b4e4249683c0e5b812ad71304ed" \
11+
&& OTP_DOWNLOAD_URL="https://github.com/erlang/otp/releases/download/OTP-${OTP_VERSION}/otp_src_${OTP_VERSION}.tar.gz" \
12+
&& OTP_DOWNLOAD_SHA256="69cf6c2cc4e54e8d0bab8f9893f0b61dee10bff575c3535d47b6057a468751b1" \
1313
&& fetchDeps=' \
1414
curl \
1515
ca-certificates' \

0 commit comments

Comments
 (0)