expertisa (v1.2.2)

Published 2024-05-30 12:15:56 +00:00 by Postnov

Installation

docker pull git.expertdwh.ru/ewh/expertisa:v1.2.2
sha256:b041b17dfc2c2ad30f8121517638476792555065c5122a959d7af85c086771b6

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.2
LABEL org.opencontainers.image.revision=8c9258353e4edf9dd1412404f18016c0c7956325
LABEL org.opencontainers.image.branch=v1.2.2
LABEL org.opencontainers.image.created=2024-05-30T15:10:39+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.2
org.opencontainers.image.created 2024-05-30T15:10:39+03:00
org.opencontainers.image.documentation https://docs.expertdwh.ru
org.opencontainers.image.revision 8c9258353e4edf9dd1412404f18016c0c7956325
org.opencontainers.image.title ExpertISA
org.opencontainers.image.vendor Expert DWH
org.opencontainers.image.version 1.2.2
Details
Container
2024-05-30 12:15:56 +00:00
1
OCI / Docker
linux/amd64
postnov@expertdwh.ru
383 MiB
Versions (25) View all