imax-backend (sha256:e04df7c002e64d22a3172e3d9ca888b363f7282b261f88ad96ac0e11b9ccebc3)

Published 2026-02-08 08:46:48 +01:00 by abdallah

Installation

docker pull git.qotra.dev/abdallah/imax-backend@sha256:e04df7c002e64d22a3172e3d9ca888b363f7282b261f88ad96ac0e11b9ccebc3
sha256:e04df7c002e64d22a3172e3d9ca888b363f7282b261f88ad96ac0e11b9ccebc3

Image layers

ADD alpine-minirootfs-3.23.3-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.2+10
RUN /bin/sh -c set -eux; ARCH="$(apk --print-arch)"; case "${ARCH}" in aarch64) ESUM='159099235c536b152f86111a694a8a03392948924736f354c79e95532dcfc1f8'; BINARY_URL='https://github.com/adoptium/temurin25-binaries/releases/download/jdk-25.0.2%2B10/OpenJDK25U-jre_aarch64_alpine-linux_hotspot_25.0.2_10.tar.gz'; ;; x86_64) ESUM='2cbb356c6923f89814b892561e6f0377ecf035ab0577e3162d2cf4e202d38ee7'; BINARY_URL='https://github.com/adoptium/temurin25-binaries/releases/download/jdk-25.0.2%2B10/OpenJDK25U-jre_x64_alpine-linux_hotspot_25.0.2_10.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"]
WORKDIR /app
RUN /bin/sh -c apk add --no-cache curl # buildkit
RUN /bin/sh -c addgroup -S spring && adduser -S spring -G spring # buildkit
USER spring:spring
COPY /app/build/libs/backend-*.jar app.jar # buildkit
ENV JAVA_OPTS=-XX:+UseG1GC -XX:MaxGCPauseMillis=200 -XX:+ParallelRefProcEnabled -XX:+AlwaysPreTouch -XX:+UseStringDeduplication
ENV SPRING_PROFILES_ACTIVE=prod
EXPOSE [8080/tcp]
HEALTHCHECK &{["CMD-SHELL" "curl --fail http://localhost:8080/actuator/health/readiness || exit 1"] "30s" "5s" "1m0s" "0s" '\x03'}
ENTRYPOINT ["/bin/sh" "-c" "exec java $JAVA_OPTS -jar app.jar"]

Labels

Key Value
org.opencontainers.image.created 2026-02-08T07:43:55.053Z
org.opencontainers.image.description
org.opencontainers.image.licenses
org.opencontainers.image.revision 2bd58797e1dc37e4d4a52f018208d1a2cea37229
org.opencontainers.image.source https://github.com/qotra/imax
org.opencontainers.image.title imax
org.opencontainers.image.url https://github.com/qotra/imax
org.opencontainers.image.version master
Details
Container
2026-02-08 08:46:48 +01:00
0
OCI / Docker
linux/amd64
190 MiB
Versions (12) View all
master-f88e6b1 2026-02-08
latest 2026-02-08
master 2026-02-08
master-066cf8d 2026-02-08
master-79bbc65 2026-02-08