Andris Enins andrisenins
  • Joined on 2026-03-22

myphotos-api (f1798f6)

Published 2026-04-27 22:41:13 +00:00 by andrisenins

Installation

docker pull git.amlab.dev/andrisenins/myphotos-api:f1798f6
sha256:c19ae8b11750384678dde0950db7bca7182c90af95f7a1b09cb45c305ce6c66a

Images

Digest OS / Arch Size
b41a0b12b4 linux/amd64 154 MiB

Image Layers ( linux/amd64)

ADD alpine-minirootfs-3.23.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.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 addgroup -S myphotos && adduser -S myphotos -G myphotos # buildkit
USER myphotos
COPY /workspace/target/*.jar app.jar # buildkit
EXPOSE [8090/tcp]
ENV JAVA_OPTS=-XX:+UseContainerSupport -XX:MaxRAMPercentage=75
ENTRYPOINT ["sh" "-c" "java $JAVA_OPTS -jar app.jar"]

Labels

Key Value
org.opencontainers.image.created 2026-04-27T21:58:31.430Z
org.opencontainers.image.description
org.opencontainers.image.licenses
org.opencontainers.image.revision f1798f609ac389f5d3493cb2e8c5c6b5c58ef243
org.opencontainers.image.source https://git.amlab.dev/andrisenins/MYPHOTOS
org.opencontainers.image.title MYPHOTOS
org.opencontainers.image.url https://git.amlab.dev/andrisenins/MYPHOTOS
org.opencontainers.image.version latest
Details
Container
2026-04-27 22:41:13 +00:00
0
OCI / Docker
Versions (16) View all
latest 2026-05-19
a47dd35 2026-05-19
39a6297 2026-05-14
fd30236 2026-05-05
0a35b28 2026-05-04