Webstake_GmbH

wrm-reese-dispo (16207e60417c300f1981e784a90c4e811d24bc7d)

Published 2026-10-22 10:21:45 +00:00 by sttue

Installation

docker pull registry.webstake.de/webstake_gmbh/wrm-reese-dispo:16207e60417c300f1981e784a90c4e811d24bc7d
sha256:3ba261f9f02270d26a3ea2eeb4faae6f3a674a3433307f68defb7c9773af5b3d

Images

Digest OS / Arch Size
55626752d2 linux/amd64 150 MiB

Image Layers ( linux/amd64)

ADD alpine-minirootfs-3.24.2-x86_64.tar.gz / # buildkit
CMD ["/bin/sh"]
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; apk add --no-cache fontconfig ttf-dejavu gnupg ca-certificates p11-kit-trust musl-locales musl-locales-lang tzdata coreutils openssl ; rm -rf /var/cache/apk/* # buildkit
ENV JAVA_VERSION=jdk-21.0.12+8
RUN /bin/sh -c set -eux; ARCH="$(apk --print-arch)"; case "${ARCH}" in aarch64) ESUM='a4f70d2be5c55940dd60b6636643a05125e60e6c3dbc2a8402032b0346744dfa'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.12%2B8/OpenJDK21U-jre_aarch64_alpine-linux_hotspot_21.0.12_8.tar.gz'; ;; x86_64) ESUM='9a7f8712a2741bb14e2452eed2de99f62d02e05617e27d59f1861a0cdad58486'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.12%2B8/OpenJDK21U-jre_x64_alpine-linux_hotspot_21.0.12_8.tar.gz'; ;; *) echo "Unsupported arch: ${ARCH}"; exit 1; ;; esac; wget -O /tmp/openjdk.tar.gz ${BINARY_URL}; wget -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; # 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"]
RUN /bin/sh -c apk add --no-cache curl && addgroup --system --gid 1001 dispo && adduser --system --uid 1001 --ingroup dispo --no-create-home dispo && install -d -o dispo -g dispo /var/log/dispo # buildkit
WORKDIR /app
COPY --chown=dispo:dispo /build/backend/extracted/dependencies/ ./ # buildkit
COPY --chown=dispo:dispo /build/backend/extracted/spring-boot-loader/ ./ # buildkit
COPY --chown=dispo:dispo /build/backend/extracted/snapshot-dependencies/ ./ # buildkit
COPY --chown=dispo:dispo /build/backend/extracted/application/ ./ # buildkit
USER dispo:dispo
EXPOSE [8080/tcp]
ENV JAVA_TOOL_OPTIONS=-XX:MaxRAMPercentage=75 -XX:+ExitOnOutOfMemoryError
HEALTHCHECK {Test:[CMD-SHELL curl --fail --silent http://localhost:8080/actuator/health || exit 1] Interval:15s Timeout:5s StartPeriod:1m0s StartInterval:0s Retries:5}
ENTRYPOINT ["java" "org.springframework.boot.loader.launch.JarLauncher"]