twochi-bot (sha256:6748e4f04137b5bb8aeed58ae036be68a7b24a9f52acf099ae57669d9ca073b1)

Published 2025-06-28 12:48:00 +00:00 by bizcochito in siesta-cat/twochi-bot

Installation

docker pull git.siesta.cat/siesta-cat/twochi-bot@sha256:6748e4f04137b5bb8aeed58ae036be68a7b24a9f52acf099ae57669d9ca073b1
sha256:6748e4f04137b5bb8aeed58ae036be68a7b24a9f52acf099ae57669d9ca073b1

Image layers

# debian.sh --arch 'amd64' out/ 'bookworm' '@1747699200'
ENV OTP_VERSION=28.0 REBAR3_VERSION=3.24.0
LABEL org.opencontainers.image.version=28.0
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="71b5bf16e5b7b5d9fae98576c87aceac447964aaa3b4b457a5f60906839af92c" && fetchDeps=' curl ca-certificates' && apt-get update && apt-get install -y --no-install-recommends $fetchDeps && curl -fSL -o otp-src.tar.gz "$OTP_DOWNLOAD_URL" && echo "$OTP_DOWNLOAD_SHA256 otp-src.tar.gz" | sha256sum -c - && runtimeDeps=' libodbc1 libssl3 libsctp1 ' && buildDeps=' autoconf dpkg-dev gcc g++ make libncurses-dev unixodbc-dev libssl-dev libsctp-dev ' && apt-get install -y --no-install-recommends $runtimeDeps && apt-get install -y --no-install-recommends $buildDeps && 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$(nproc) && make install ) && find /usr/local -name examples | xargs rm -rf && REBAR3_DOWNLOAD_URL="https://github.com/erlang/rebar3/archive/${REBAR3_VERSION}.tar.gz" && REBAR3_DOWNLOAD_SHA256="391b0eaa2825bb427fef1e55a0d166493059175f57a33b00346b84a20398216c" && mkdir -p /usr/src/rebar3-src && curl -fSL -o rebar3-src.tar.gz "$REBAR3_DOWNLOAD_URL" && echo "$REBAR3_DOWNLOAD_SHA256 rebar3-src.tar.gz" | sha256sum -c - && 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 && apt-get purge -y --auto-remove $buildDeps $fetchDeps && rm -rf $ERL_TOP /var/lib/apt/lists/* # buildkit
CMD ["erl"]
ARG TARGETARCH=amd64
COPY gleam-amd64 /bin/gleam # buildkit
COPY gleam-amd64.sbom.spdx.json /opt/sbom/ # buildkit
CMD ["gleam"]
WORKDIR /app
RUN /bin/sh -c apt-get update && apt-get --no-install-recommends install -y ca-certificates=20230311 && rm -rf /var/lib/apt/lists/* # buildkit
COPY ./static/ /app/static/ # buildkit
COPY /app/build/erlang-shipment . # buildkit
EXPOSE map[8000/tcp:{}]
ENTRYPOINT ["/app/entrypoint.sh"]
CMD ["run"]

Labels

Key Value
org.opencontainers.image.created 2025-06-28T12:37:27.309Z
org.opencontainers.image.description
org.opencontainers.image.licenses
org.opencontainers.image.revision b120b4be2f728af9f430ba18837d01970cdb19ee
org.opencontainers.image.source https://git.siesta.cat/siesta-cat/twochi-bot
org.opencontainers.image.title twochi-bot
org.opencontainers.image.url https://git.siesta.cat/siesta-cat/twochi-bot
org.opencontainers.image.version v4.0.2
Details
Container
2025-06-28 12:48:00 +00:00
2
OCI / Docker
linux/amd64
137 MiB
Versions (49) View all
latest 2025-12-17
v4.1.20 2025-12-17
v4.1.19 2025-12-13
v4.1.18 2025-12-12
v4.1.17 2025-12-04