expertisa (v1.2)

Published 2024-06-06 12:13:00 +00:00 by Postnov

Installation

docker pull git.expertdwh.ru/ewh/expertisa:v1.2
sha256:030f3dbf06e708b1812c33dff325e8d9947d1d4672b331348cd109f3e50c73ce

Image Layers

ADD file:37a76ec18f9887751cd8473744917d08b7431fc4085097bb6a09d81b41775473 in /
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 binutils tzdata ; rm -rf /var/cache/apk/* # buildkit
ENV JAVA_VERSION=jdk-21.0.3+9
RUN /bin/sh -c set -eux; ARCH="$(apk --print-arch)"; case "${ARCH}" in aarch64|arm64) ESUM='0f68a9122054149861f6ce9d1b1c176bbe30dd76b36b74c916ba897c12e9d970'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.3%2B9/OpenJDK21U-jdk_aarch64_alpine-linux_hotspot_21.0.3_9.tar.gz'; ;; amd64|x86_64) ESUM='8e861638bf6b08c6d5837de6dc929930550928ec5fcc81b9fa7e8296afd0f9c0'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.3%2B9/OpenJDK21U-jdk_x64_alpine-linux_hotspot_21.0.3_9.tar.gz'; ;; *) echo "Unsupported arch: ${ARCH}"; exit 1; ;; esac; wget -O /tmp/openjdk.tar.gz ${BINARY_URL}; 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 ${JAVA_HOME}/lib/src.zip; # buildkit
RUN /bin/sh -c set -eux; echo "Verifying install ..."; fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java; echo "javac --version"; javac --version; echo "java --version"; java --version; echo "Complete." # buildkit
COPY entrypoint.sh /__cacert_entrypoint.sh # buildkit
ENTRYPOINT ["/__cacert_entrypoint.sh"]
CMD ["jshell"]
ARG WAR_FILE=*/*.war
ARG GIT_COMMIT_ID
ARG CREATED
ARG GIT_BRANCH
ARG VERSION
LABEL org.opencontainers.image.title=ExpertISA
LABEL org.opencontainers.image.authors=postnov@expertdwh.ru
LABEL org.opencontainers.image.documentation=https://docs.expertdwh.ru
LABEL org.opencontainers.image.vendor=Expert DWH
LABEL org.opencontainers.image.version=1.2.5
LABEL org.opencontainers.image.revision=d423e412d7b9660ec0f9a46fd82528b36169d5c6
LABEL org.opencontainers.image.branch=v1.2
LABEL org.opencontainers.image.created=2024-06-05T16:50:09+03:00
VOLUME [/data]
EXPOSE map[8080/tcp:{}]
ENV SPRING_CONFIG_ADDITIONAL_LOCATION=/data/
ENV JAVA_TOOL_OPTIONS=-XX:MaxRAMPercentage=90
ADD */*.war app.war # buildkit
ENTRYPOINT ["java" "-jar" "/app.war"]

Labels

Key Value
org.opencontainers.image.authors postnov@expertdwh.ru
org.opencontainers.image.branch v1.2
org.opencontainers.image.created 2024-06-05T16:50:09+03:00
org.opencontainers.image.documentation https://docs.expertdwh.ru
org.opencontainers.image.revision d423e412d7b9660ec0f9a46fd82528b36169d5c6
org.opencontainers.image.title ExpertISA
org.opencontainers.image.vendor Expert DWH
org.opencontainers.image.version 1.2.5
Details
Container
2024-06-06 12:13:00 +00:00
66
OCI / Docker
linux/amd64
postnov@expertdwh.ru
383 MiB
Versions (27) View all