Sign inSign up
erlang logo

erlang:29.1.1.0-alpine

Multi-platform
Also known as:
29-alpine
29.1-alpine
29.1.1-alpine
af633672e590e076619a20d95c767fe5c924feb3c20495ec6724f2c0dc3e2df4
alpine
Languages & frameworks
Index digest

sha256:e7a27e743d17abf139518a69ba3861b43a88ad8396296f0a859d7f37031dbde0

OS/ARCH

Compressed size

51.32 MB

Last pushed

10 days by doijanky

Type

Image

Vulnerabilities

No Vulnerabilities Found

Manifest digest

sha256:6e44b63dabdb426e16e1bfd955dd7435f40111523a0bc0e6367f0eb84f5267f7

Layers (6)

alpine:d9fae02a6654bae4e0f06b5ff42116246bab04146a6f98a85e2583f14ac5c34b
0
0
0
0
0
erlang:29.1.1.0-alpine
0
0
0
0
0

2

ENV OTP_VERSION=29.1.1 REBAR3_VERSION=3.27.0

0 B


3

LABEL org.opencontainers.image.version=29.1.1

0 B


4

RUN /bin/sh -c set -xe && OTP_DOWNLOAD_URL="https://github.com/erlang/otp/releases/download/OTP-${OTP_VERSION}/otp_src_${OTP_VERSION}.tar.gz" && OTP_DOWNLOAD_SHA256="054e0143e39c780e091107fc9b345792a9c1a55f6bac1eca1c1101510fc06bf6" && REBAR3_DOWNLOAD_SHA256="985cae6e957334cfa549190b9f5efb9185c184a18fc181c87b8dde096ba79f38" && apk add --no-cache --virtual .fetch-deps curl ca-certificates && curl -fSL -o otp-src.tar.gz "$OTP_DOWNLOAD_URL" && echo "$OTP_DOWNLOAD_SHA256 otp-src.tar.gz" | sha256sum -c - && apk add --no-cache --virtual .build-deps dpkg-dev dpkg gcc g++ libc-dev linux-headers make autoconf ncurses-dev openssl-dev unixodbc-dev lksctp-tools-dev tar && export ERL_TOP="/usr/src/otp_src_${OTP_VERSION%%@*}" && mkdir -vp $ERL_TOP && tar -xzf otp-src.tar.gz -C $ERL_TOP --strip-components=1 && rm otp-src.tar.gz && ( cd $ERL_TOP && ./otp_build autoconf && gnuArch="$(dpkg-architecture --query DEB_HOST_GNU_TYPE)" && ./configure --build="$gnuArch" && make -j$(getconf _NPROCESSORS_ONLN) && make install ) && rm -rf $ERL_TOP && find /usr/local -regex '/usr/local/lib/erlang/\(lib/\|erts-\).*/\(man\|doc\|obj\|c_src\|emacs\|info\|examples\)' | xargs rm -rf && { find /usr/local -name src | xargs -r find | grep -v '\.hrl$' | xargs rm -v || true; } && { find /usr/local -name src | xargs -r find | xargs rmdir -vp || true; } && scanelf --nobanner -E ET_EXEC -BF '%F' --recursive /usr/local | xargs -r strip --strip-all && scanelf --nobanner -E ET_DYN -BF '%F' --recursive /usr/local | xargs -r strip --strip-unneeded && runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )" && REBAR3_DOWNLOAD_URL="https://github.com/erlang/rebar3/archive/${REBAR3_VERSION}.tar.gz" && curl -fSL -o rebar3-src.tar.gz "$REBAR3_DOWNLOAD_URL" && echo "${REBAR3_DOWNLOAD_SHA256} rebar3-src.tar.gz" | sha256sum -c - && mkdir -p /usr/src/rebar3-src && tar -xzf rebar3-src.tar.gz -C /usr/src/rebar3-src --strip-components=1 && rm rebar3-src.tar.gz && cd /usr/src/rebar3-src && HOME=$PWD ./bootstrap && install -v ./rebar3 /usr/local/bin/ && rm -rf /usr/src/rebar3-src && apk add --virtual .erlang-rundeps $runDeps lksctp-tools ca-certificates && apk del .fetch-deps .build-deps # buildkit

50.55 MB


5

CMD ["erl"]

0 B