wellsy (1698b463c83eec86458417b31af8099925c88d7e)

Published 2026-10-07 19:09:49 -05:00 by austin

Installation

docker pull git.thebennett.net/austin/wellsy:1698b463c83eec86458417b31af8099925c88d7e
sha256:5b89c084fdd66aa7e0ede87d6b1598d388bedc0354b558f4d840476d68a91f2a

Image layers

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 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.4.1+1
RUN /bin/sh -c set -eux; ARCH="$(apk --print-arch)"; case "${ARCH}" in aarch64) ESUM='0200539904de3669dce5c435aa1ef71f530325d6461c76d85fe90d5424e4974e'; BINARY_URL='https://github.com/adoptium/temurin25-binaries/releases/download/jdk-25.0.4.1%2B1/OpenJDK25U-jre_aarch64_alpine-linux_hotspot_25.0.4.1_1.tar.gz'; ;; x86_64) ESUM='cde9e39d32cab07722cb3218d91980091012f16333f8a298c40896cd05e2ffea'; BINARY_URL='https://github.com/adoptium/temurin25-binaries/releases/download/jdk-25.0.4.1%2B1/OpenJDK25U-jre_x64_alpine-linux_hotspot_25.0.4.1_1.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 /x/extracted/dependencies/ ./ # buildkit
COPY --chown=spring:spring /x/extracted/snapshot-dependencies/ ./ # buildkit
COPY --chown=spring:spring /x/extracted/application/ ./ # buildkit
ENV TZ=America/Chicago
USER spring
EXPOSE [8080/tcp]
HEALTHCHECK {Test:[CMD-SHELL curl -fsS http://localhost:8080/actuator/health || exit 1] Interval:30s Timeout:3s StartPeriod:40s StartInterval:0s Retries:3}
ARG GIT_SHA=1698b463c83eec86458417b31af8099925c88d7e
LABEL org.opencontainers.image.title=wellsy org.opencontainers.image.source=https://git.thebennett.net/austin/iron-range org.opencontainers.image.revision=1698b463c83eec86458417b31af8099925c88d7e
ENTRYPOINT ["java" "-XX:MaxRAMPercentage=75.0" "--enable-native-access=ALL-UNNAMED" "-jar" "app.jar"]

Labels

Key Value
org.opencontainers.image.revision 1698b463c83eec86458417b31af8099925c88d7e
org.opencontainers.image.source https://git.thebennett.net/austin/iron-range
org.opencontainers.image.title wellsy
Details
Container
2026-10-07 19:09:49 -05:00
0
OCI / Docker
linux/amd64
180 MiB
Versions (174) View all