• Joined on 2024-01-04

trueref (cpu)

Published 2026-05-09 15:46:21 +02:00 by mozempk

Installation

docker pull git.sal.giize.com/mozempk/trueref:cpu
sha256:4eadaf3832b536d9dc219d533c9c16e0755c7b62f5894ce848fc81b948808e2c

Images

Digest OS / Arch Size
b9add23f17 linux/amd64 644 MiB

Image Layers ( linux/amd64)

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.version=22.04
ADD file:da2cd86408d9354e8bd817c8a4b8635a1d788cd20d0d70061ce02a173e8cf902 in /
CMD ["/bin/bash"]
ENV JAVA_HOME=/opt/java/openjdk
ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
RUN /bin/sh -c set -eux; apt-get update; DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends curl wget gnupg fontconfig ca-certificates p11-kit tzdata locales ; echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen; locale-gen en_US.UTF-8; rm -rf /var/lib/apt/lists/* # buildkit
ENV JAVA_VERSION=jdk-21.0.11+10
RUN /bin/sh -c set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in amd64) ESUM='e5038aae3ca9ff670bc696496b0728dbd23d280026bad30291cb919221ecfdcb'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.11%2B10/OpenJDK21U-jre_x64_linux_hotspot_21.0.11_10.tar.gz'; ;; arm64) ESUM='fa23d9d9945053e67bcc7638410eabf1e17a7672c7c95a24f70cd08b8407d36e'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.11%2B10/OpenJDK21U-jre_aarch64_linux_hotspot_21.0.11_10.tar.gz'; ;; ppc64el) ESUM='fefb53c4bd687e7a91a9a9809ec80e0862e829cd20513839ad1a9988ddc89482'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.11%2B10/OpenJDK21U-jre_ppc64le_linux_hotspot_21.0.11_10.tar.gz'; ;; s390x) ESUM='45736e9e14d52619133900a077b4f72d1ebee0fd0bb053da0bca9dce9fc4d916'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.11%2B10/OpenJDK21U-jre_s390x_linux_hotspot_21.0.11_10.tar.gz'; ;; *) echo "Unsupported arch: ${ARCH}"; exit 1; ;; esac; wget --progress=dot:giga -O /tmp/openjdk.tar.gz ${BINARY_URL}; wget --progress=dot:giga -O /tmp/openjdk.tar.gz.sig ${BINARY_URL}.sig; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 3B04D753C9050D9A5D343F39843C48A565F8F04B; gpg --batch --verify /tmp/openjdk.tar.gz.sig /tmp/openjdk.tar.gz; rm -rf "${GNUPGHOME}" /tmp/openjdk.tar.gz.sig; echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; mkdir -p "$JAVA_HOME"; tar --extract --file /tmp/openjdk.tar.gz --directory "$JAVA_HOME" --strip-components 1 --no-same-owner ; rm -f /tmp/openjdk.tar.gz; find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; ldconfig; java -Xshare:dump; # buildkit
RUN /bin/sh -c set -eux; echo "Verifying install ..."; echo "java --version"; java --version; echo "Complete." # buildkit
COPY --chmod=755 entrypoint.sh /__cacert_entrypoint.sh # buildkit
ENTRYPOINT ["/__cacert_entrypoint.sh"]
LABEL org.opencontainers.image.title=TrueRef
LABEL org.opencontainers.image.description=Self-hosted documentation retrieval platform for AI coding assistants (CPU variant)
LABEL org.opencontainers.image.url=https://git.sal.giize.com/mozempk/trueref
LABEL org.opencontainers.image.source=https://git.sal.giize.com/mozempk/trueref
WORKDIR /app
COPY /build/trueref-bootstrap/target/trueref.jar /app/trueref.jar # buildkit
VOLUME [/data]
ENV TRUEREF_HOME=/data TRUEREF_PORT=18080 JAVA_OPTS=
EXPOSE [18080/tcp]
ENTRYPOINT ["sh" "-c" "exec java --enable-native-access=ALL-UNNAMED --add-modules=jdk.incubator.vector ${JAVA_OPTS} -jar /app/trueref.jar --server.port=${TRUEREF_PORT} --trueref.home=${TRUEREF_HOME} --trueref.embedding.onnx-providers=cpu \"$@\"" "--"]

Labels

Key Value
org.opencontainers.image.created 2026-05-09T13:44:51.191Z
org.opencontainers.image.description TrueRef — self-hosted documentation retrieval platform for AI coding assistants
org.opencontainers.image.licenses
org.opencontainers.image.revision 5c6085df99eee83c989c1f0fb5a19f09adcee66e
org.opencontainers.image.source https://git.sal.giize.com/mozempk/trueref
org.opencontainers.image.title trueref
org.opencontainers.image.url https://git.sal.giize.com/mozempk/trueref
org.opencontainers.image.version latest
Details
Container
2026-05-09 15:46:21 +02:00
0
OCI / Docker
Versions (5) View all
buildcache-gpu 2026-05-09
gpu 2026-05-09
buildcache-cpu 2026-05-09
latest 2026-05-09
cpu 2026-05-09