spring-boot (v1.0.137)
Published 2024-11-18 18:53:03 +00:00 by gitea
Installation
docker pull gitea.okami101.io/conduit/spring-boot:v1.0.137
sha256:bf1e2329a0fef4f15d19063a0383fb785a38080d1370cf621cf3e949a78d3aaf
About this package
Spring Boot RealWorld
Image Layers
ADD file:d13afefcc2b0b02b598a3ac2598fe2187db41de1e17820e5b600a955b1429d59 in / |
CMD ["bash"] |
RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates p11-kit ; rm -rf /var/lib/apt/lists/* # buildkit |
ENV JAVA_HOME=/usr/local/openjdk-23 |
ENV PATH=/usr/local/openjdk-23/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
ENV LANG=C.UTF-8 |
ENV JAVA_VERSION=23 |
RUN /bin/sh -c set -eux; arch="$(dpkg --print-architecture)"; case "$arch" in 'amd64') downloadUrl='https://download.java.net/java/GA/jdk23/3c5b90190c68498b986a97f276efd28a/37/GPL/openjdk-23_linux-x64_bin.tar.gz'; downloadSha256='08fea92724127c6fa0f2e5ea0b07ff4951ccb1e2f22db3c21eebbd7347152a67'; ;; 'arm64') downloadUrl='https://download.java.net/java/GA/jdk23/3c5b90190c68498b986a97f276efd28a/37/GPL/openjdk-23_linux-aarch64_bin.tar.gz'; downloadSha256='076dcf7078cdf941951587bf92733abacf489a6570f1df97ee35945ffebec5b7'; ;; *) echo >&2 "error: unsupported architecture: '$arch'"; exit 1 ;; esac; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends wget ; rm -rf /var/lib/apt/lists/*; wget --progress=dot:giga -O openjdk.tgz "$downloadUrl"; echo "$downloadSha256 *openjdk.tgz" | sha256sum --strict --check -; mkdir -p "$JAVA_HOME"; tar --extract --file openjdk.tgz --directory "$JAVA_HOME" --strip-components 1 --no-same-owner ; rm openjdk.tgz*; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; { echo '#!/usr/bin/env bash'; echo 'set -Eeuo pipefail'; echo 'trust extract --overwrite --format=java-cacerts --filter=ca-anchors --purpose=server-auth "$JAVA_HOME/lib/security/cacerts"'; } > /etc/ca-certificates/update.d/docker-openjdk; chmod +x /etc/ca-certificates/update.d/docker-openjdk; /etc/ca-certificates/update.d/docker-openjdk; find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; ldconfig; java -Xshare:dump; fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java; javac --version; java --version # buildkit |
CMD ["jshell"] |
WORKDIR /app |
COPY build/libs/realworld-0.0.1-SNAPSHOT.jar realworld.jar # buildkit |
ENTRYPOINT ["java" "-jar" "/app/realworld.jar"] |
Labels
Key | Value |
---|---|
org.opencontainers.image.created | 2024-11-18T18:52:52.891Z |
org.opencontainers.image.description | Spring Boot RealWorld |
org.opencontainers.image.licenses | |
org.opencontainers.image.revision | 3aac53770383ccaf59dc9e7a8dbcac37bf381755 |
org.opencontainers.image.source | https://gitea.okami101.io/conduit/spring-boot |
org.opencontainers.image.title | spring-boot |
org.opencontainers.image.url | https://gitea.okami101.io/conduit/spring-boot |
org.opencontainers.image.version | v1.0.137 |
Details
2024-11-18 18:53:03 +00:00
Versions (31)
View all
Container
0
OCI / Docker
linux/amd64
286 MiB