twochi-bot (sha256:4d43018bd296a756af0a3aef2f254ef209591eb44e9374a670e3ff736dc63147)
Installation
docker pull git.siesta.cat/siesta-cat/twochi-bot@sha256:4d43018bd296a756af0a3aef2f254ef209591eb44e9374a670e3ff736dc63147sha256:4d43018bd296a756af0a3aef2f254ef209591eb44e9374a670e3ff736dc63147Image layers
| # debian.sh --arch 'amd64' out/ 'bookworm' '@1743984000' |
| ENV OTP_VERSION=27.3.2 REBAR3_VERSION=3.24.0 |
| LABEL org.opencontainers.image.version=27.3.2 |
| 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="7997a0900d149c82ae3d0f523d7dfa960ac3cd58acf0b158519c108eb5c65661" && 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 && rm -rf /var/lib/apt/lists/* # 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-05-18T14:36:01.693Z |
| org.opencontainers.image.description | |
| org.opencontainers.image.licenses | |
| org.opencontainers.image.revision | 59420b959c4415e11edc48695e27cfac6253fcf9 |
| 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 | v2.0.0 |
Details
2025-05-18 14:47:44 +00:00
Versions (49)
View all
Container
3
OCI / Docker
linux/amd64
135 MiB