claptrapbot (sha256:51598ebfe53aa1248a9ecd2ecbe818b76edbe2cfb6af251f0c5ec6769b763eb8)
Installation
docker pull git.sebclem.fr/sebclem/claptrapbot@sha256:51598ebfe53aa1248a9ecd2ecbe818b76edbe2cfb6af251f0c5ec6769b763eb8
sha256:51598ebfe53aa1248a9ecd2ecbe818b76edbe2cfb6af251f0c5ec6769b763eb8
Image Layers
ADD file:fc714080c3bcbbce7ac746a10d7b4355ffa36293a8d435d62cd5359ea8eb8364 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 |
/bin/sh -c set -eux; apk add --no-cache bash fontconfig ttf-dejavu java-cacerts libretls zlib musl-locales musl-locales-lang binutils tzdata ; rm -rf /var/cache/apk/* |
ENV JAVA_VERSION=jdk-21.0.1+12 |
/bin/sh -c set -eux; ARCH="$(apk --print-arch)"; case "${ARCH}" in aarch64|arm64) ESUM='77006c0a753808c2a6662007906eb6eb230f2fb6eb9d201a39cc46113e68f82c'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.1%2B12/OpenJDK21U-jdk_aarch64_alpine-linux_hotspot_21.0.1_12.tar.gz'; ;; amd64|x86_64) ESUM='422f23f5109056cacb9227247bebf8532e2dc3c9d505e71637ba610569d6b3ff'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.1%2B12/OpenJDK21U-jdk_x64_alpine-linux_hotspot_21.0.1_12.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; |
/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." |
COPY file:8b8864b3e02a33a579dc216fd51b28a6047bc8eeaa03045b258980fe0cf7fcb3 in /__cacert_entrypoint.sh |
ENTRYPOINT ["/__cacert_entrypoint.sh"] |
CMD ["jshell"] |
ARG DEPENDENCY=/workspace/app/build/dependency |
COPY /workspace/app/build/dependency/BOOT-INF/lib /app/lib # buildkit |
COPY /workspace/app/build/dependency/META-INF /app/META-INF # buildkit |
COPY /workspace/app/build/dependency/BOOT-INF/classes /app # buildkit |
ENTRYPOINT ["java" "-cp" "app:app/lib/*" "net.Broken.MainBot"] |
LABEL org.opencontainers.image.source=https://git.sebclem.fr/sebclem/ClaptrapBot |
Labels
Key | Value |
---|---|
org.opencontainers.image.created | 2023-12-29T15:40:07Z |
org.opencontainers.image.revision | 7ba26fef46539d312291b17a640f68cee45f54c5 |
org.opencontainers.image.source | https://git.sebclem.fr/sebclem/ClaptrapBot.git |
org.opencontainers.image.url | https://git.sebclem.fr/sebclem/ClaptrapBot |
org.opencontainers.image.version | 4.0.0 |
Details
2023-12-29 16:42:50 +01:00
Versions (6)
View all
Container
233
OCI / Docker
linux/amd64
243 MiB