expertisa (master_grid8it)

Published 2024-11-22 10:24:59 +00:00 by Postnov

Installation

docker pull git.expertdwh.ru/ewh/expertisa:master_grid8it
sha256:8f34c2352b2ac5660b449c3b774853db91b5325eefdf2f85cdcf73ec2e188c47

Image Layers

ADD alpine-minirootfs-3.20.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 gnupg ca-certificates p11-kit-trust musl-locales musl-locales-lang tzdata coreutils openssl ; rm -rf /var/cache/apk/* # buildkit
ENV JAVA_VERSION=jdk-21.0.5+11
RUN /bin/sh -c set -eux; ARCH="$(apk --print-arch)"; case "${ARCH}" in aarch64) ESUM='12b988a3d934e3eb89c6a981a93f8e2adf0a62cc9030487dee76c0c29b93714d'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.5%2B11/OpenJDK21U-jre_aarch64_alpine-linux_hotspot_21.0.5_11.tar.gz'; ;; x86_64) ESUM='2dfa33fb8e9474e6967c6cf17964abb5ddce9c17fa6a9f8d7aa221a0ae295df9'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.5%2B11/OpenJDK21U-jre_x64_alpine-linux_hotspot_21.0.5_11.tar.gz'; ;; *) echo "Unsupported arch: ${ARCH}"; exit 1; ;; esac; 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 -r "${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 ${JAVA_HOME}/lib/src.zip; # 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 mkdir /data # buildkit
RUN /bin/sh -c chown 1000:1000 /data # buildkit
USER 1000:1000
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.5.0
LABEL org.opencontainers.image.revision=e5d7cd92864b25e4723e8c9120e1df6fd3c75adf
LABEL org.opencontainers.image.branch=master_Grid8IT
LABEL org.opencontainers.image.created=2024-11-22T10:21:36Z
EXPOSE map[8080/tcp:{}]
ENV SPRING_CONFIG_ADDITIONAL_LOCATION=/data/
ADD ru.expertdwh.expertisa.web-0.0.1-SNAPSHOT.war app.war # buildkit
ENTRYPOINT ["java" "-jar" "/app.war"]

Labels

Key Value
org.opencontainers.image.authors postnov@expertdwh.ru
org.opencontainers.image.branch master_Grid8IT
org.opencontainers.image.created 2024-11-22T10:21:36Z
org.opencontainers.image.documentation https://docs.expertdwh.ru
org.opencontainers.image.revision e5d7cd92864b25e4723e8c9120e1df6fd3c75adf
org.opencontainers.image.title ExpertISA
org.opencontainers.image.vendor Expert DWH
org.opencontainers.image.version 1.5.0
Details
Container
2024-11-22 10:24:59 +00:00
3
OCI / Docker
linux/amd64
postnov@expertdwh.ru
383 MiB
Versions (27) View all