bezant (c95581427bf159545008640a73d2d704d5424f68)

Published 2026-11-17 10:10:26 -06:00 by austin

Installation

docker pull git.thebennett.net/austin/bezant:c95581427bf159545008640a73d2d704d5424f68
sha256:98876aa48f8c6d73ac4b455c031e12eafd19e6e6f4ee34023f02a6bcba641344

Image layers

ADD alpine-minirootfs-3.24.4-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 ca-certificates p11-kit-trust musl-locales musl-locales-lang tzdata coreutils openssl ; rm -rf /var/cache/apk/* # buildkit
ENV JAVA_VERSION=jdk-25.0.5+8
RUN /bin/sh -c set -eux; ARCH="$(apk --print-arch)"; case "${ARCH}" in aarch64) ESUM='7c2b97b1b34947399f6c911e5aa69d171b745b0005ea79f47c4f3f1d47554bc2'; BINARY_URL='https://github.com/adoptium/temurin25-binaries/releases/download/jdk-25.0.5%2B8/OpenJDK25U-jre_aarch64_alpine-linux_hotspot_25.0.5_8.tar.gz'; ;; x86_64) ESUM='b46e981318decb77eda728e006c7678a1ac0c56cf81ae3ad245710c2e4fa1a55'; BINARY_URL='https://github.com/adoptium/temurin25-binaries/releases/download/jdk-25.0.5%2B8/OpenJDK25U-jre_x64_alpine-linux_hotspot_25.0.5_8.tar.gz'; ;; *) echo "Unsupported arch: ${ARCH}"; exit 1; ;; esac; apk add --no-cache --virtual .fetch-deps gnupg; 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; apk del --no-network .fetch-deps; # 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 -U upgrade --no-cache && apk add --no-cache curl # buildkit
RUN /bin/sh -c addgroup -S spring && adduser -S -D -H -h /app -s /sbin/nologin -G spring spring # buildkit
WORKDIR /app
COPY --chown=spring:spring /src/extracted/dependencies/ ./ # buildkit
COPY --chown=spring:spring /src/extracted/snapshot-dependencies/ ./ # buildkit
COPY --chown=spring:spring /src/extracted/application/ ./ # buildkit
COPY --chown=spring:spring /src/deploy/ashburn/deploy.sh /opt/deploy/deploy.sh # buildkit
USER spring
EXPOSE [8080/tcp]
HEALTHCHECK {Test:[CMD-SHELL curl -fsS http://localhost:8080/actuator/health/readiness || exit 1] Interval:10s Timeout:3s StartPeriod:1m30s StartInterval:0s Retries:3}
ARG GIT_SHA=c95581427bf159545008640a73d2d704d5424f68
ENV GIT_SHA=c95581427bf159545008640a73d2d704d5424f68
LABEL org.opencontainers.image.title=bezant org.opencontainers.image.source=https://git.thebennett.net/austin/bezant org.opencontainers.image.revision=c95581427bf159545008640a73d2d704d5424f68
ENTRYPOINT ["java" "-XX:MaxRAMPercentage=65.0" "-XX:+ExitOnOutOfMemoryError" "-jar" "app.jar"]

Labels

Key Value
org.opencontainers.image.revision c95581427bf159545008640a73d2d704d5424f68
org.opencontainers.image.source https://git.thebennett.net/austin/bezant
org.opencontainers.image.title bezant
Details
Container
2026-11-17 10:10:26 -06:00
2
2026-11-17 10:10:31 -06:00
OCI / Docker
linux/amd64
162 MiB
Versions (185) View all