2023-08-08 19:33:55 UTC
143 MB
CLI
JAVA_HOME/usr/lib/jvm/jdk-17.0.8-bellsoft-x86_64
LANGen_US.UTF-8
LANGUAGEen_US.UTF-8:en
PATH/usr/lib/jvm/jdk-17.0.8-bellsoft-x86_64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:31e352740f534f9ad170f75378a84fe453d6156e40700b882d737a8f4a6988a3 - 2.26% (3.24 MB)
[#001] sha256:2c5659917dbc202b05f9beeabf7db8a5f209660d8fc403363b2ae2e0bed3df6f - 2.36% (3.39 MB)
[#002] sha256:7efcf2186d5b57b6dedde054e62a197ac48640609ec970eb09be4e3dccc25817 - 50.79% (72.9 MB)
[#003] sha256:128fb5c28cb135be4f6eac44b53927755f12848ce721ce9b648b1d391c94c4b9 - 44.59% (64 MB)
/bin/sh -c #(nop) ADD file:1da756d12551a0e3e793e02ef87432d69d4968937bd11bed0af215db19dd94cd in /
2023-06-14 20:41:59 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2023-07-19 19:56:31 UTC/bin/sh -c #(nop) ARG GLIBC_PREFIX=/usr/glibc
2023-07-19 19:56:31 UTC/bin/sh -c #(nop) ARG EXT_GCC_LIBS_URL=https://archive.archlinux.org/packages/g/gcc-libs/gcc-libs-8.3.0-1-x86_64.pkg.tar.xz
2023-07-19 19:56:31 UTC/bin/sh -c #(nop) ARG EXT_ZLIB_URL=https://archive.archlinux.org/packages/z/zlib/zlib-1%3A1.2.11-3-x86_64.pkg.tar.xz
2023-07-19 19:56:32 UTC/bin/sh -c #(nop) ARG LANG=en_US.UTF-8
2023-07-19 19:56:32 UTC/bin/sh -c #(nop) ARG OPT_PKGS=
2023-07-19 19:56:32 UTC/bin/sh -c #(nop) ENV LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8:en
2023-07-19 19:56:33 UTC/bin/sh -c #(nop) ARG LIBERICA_IMAGE_VARIANT=lite
2023-07-19 19:56:33 UTC/bin/sh -c #(nop) ARG LIBERICA_VM=server
2023-07-19 19:56:33 UTC/bin/sh -c #(nop) ARG LIBERICA_JVM_DIR=/usr/lib/jvm
2023-07-19 19:56:33 UTC/bin/sh -c #(nop) ARG LIBERICA_VERSION=17.0.8
2023-07-19 19:56:33 UTC/bin/sh -c #(nop) ARG LIBERICA_BUILD=7
2023-07-19 19:56:34 UTC/bin/sh -c #(nop) ARG LIBERICA_ROOT=/usr/lib/jvm/jdk-17.0.8-bellsoft
2023-07-19 19:56:34 UTC/bin/sh -c #(nop) COPY dir:b8df32c282f8e58527814595b978fe838c6f3dc847cfac996641baf2526845be in /
2023-07-19 19:56:56 UTC|10 EXT_GCC_LIBS_URL=https://archive.archlinux.org/packages/g/gcc-libs/gcc-libs-8.3.0-1-x86_64.pkg.tar.xz EXT_ZLIB_URL=https://archive.archlinux.org/packages/z/zlib/zlib-1%3A1.2.11-3-x86_64.pkg.tar.xz GLIBC_PREFIX=/usr/glibc LIBERICA_BUILD=7 LIBERICA_IMAGE_VARIANT=lite LIBERICA_JVM_DIR=/usr/lib/jvm LIBERICA_ROOT=/usr/lib/jvm/jdk-17.0.8-bellsoft-x86_64 LIBERICA_VERSION=17.0.8 LIBERICA_VM=server OPT_PKGS= /bin/sh -c LIBERICA_ARCH='' && apk --no-cache upgrade libcrypto1.1 libssl1.1 && set -x && case `uname -m` in x86_64) LIBERICA_ARCH="amd64" ;; i686) LIBERICA_ARCH="i586" ;; aarch64) LIBERICA_ARCH="aarch64" ;; armv[67]l) LIBERICA_ARCH="arm32-vfp-hflt"; ;; ppc64le) LIBERICA_ARCH="ppc64le"; ;; *) LIBERICA_ARCH=`uname -m` ;; esac && ln -s ${GLIBC_PREFIX}/lib/ld-*.so* /lib && ln -s ${GLIBC_PREFIX}/etc/ld.so.cache /etc && if [ "$LIBERICA_ARCH" = "amd64" ]; then ln -s /lib /lib64 && mkdir /tmp/zlib && wget -O - "${EXT_ZLIB_URL}" | tar xJf - -C /tmp/zlib && cp -dP /tmp/zlib/usr/lib/libz.so* "${GLIBC_PREFIX}/lib" && rm -rf /tmp/zlib && mkdir /tmp/gcc && wget -O - "${EXT_GCC_LIBS_URL}" | tar xJf - -C /tmp/gcc && cp -dP /tmp/gcc/usr/lib/libgcc* /tmp/gcc/usr/lib/libstdc++* "${GLIBC_PREFIX}/lib" && rm -rf /tmp/gcc; fi && for pkg in $OPT_PKGS ; do apk --no-cache add $pkg ; done && ${GLIBC_PREFIX}/sbin/ldconfig && echo 'hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4' > /etc/nsswitch.conf && case "$LIBERICA_IMAGE_VARIANT" in standard) RSUFFIX="" && LITE_URL="" ;; lite|base|base-minimal) RSUFFIX="-lite" && LITE_URL="/docker" ;; *) echo "Invalid parameter LIBERICA_IMAGE_VARIANT = ${LIBERICA_IMAGE_VARIANT}" && echo "LIBERICA_IMAGE_VARIANT can be one of [standard|lite|base|base-minimal]" && exit 1 ;; esac && if [[ ${LIBERICA_IMAGE_VARIANT} == "standard" || ${LIBERICA_IMAGE_VARIANT} == "lite" ]]; then case $LIBERICA_VM in server|client|minimal|all) echo ;; *) echo "Only server, client, minimal or all VM is avalable for LIBERICA_VM argument" && echo "example: LIBERICA_VM='server'" && exit 1 ;; esac; fi && for pkg in $OPT_PKGS ; do apk --no-cache add $pkg ; done && mkdir -p /tmp/java && LIBERICA_BUILD_STR=${LIBERICA_BUILD:+"+${LIBERICA_BUILD}"} && PKG="bellsoft-jdk${LIBERICA_VERSION}${LIBERICA_BUILD_STR}-linux-${LIBERICA_ARCH}${RSUFFIX}.tar.gz" && PKG_URL="https://download.bell-sw.com/java/${LIBERICA_VERSION}${LIBERICA_BUILD_STR}${LITE_URL}/${PKG}" && echo "Download ${PKG_URL}" && wget "${PKG_URL}" -O /tmp/java/jdk.tar.gz && SHA_URL="https://download.bell-sw.com/java/${LIBERICA_VERSION}${LIBERICA_BUILD_STR}/docker/sha1sum.txt" && if [ ${LIBERICA_IMAGE_VARIANT} == "standard" ]; then SHA_URL="https://download.bell-sw.com/sha1sum/java/${LIBERICA_VERSION}${LIBERICA_BUILD_STR}"; fi && SHA1=$(wget -q "${SHA_URL}" -O - | grep ${PKG} | cut -f1 -d' ' ) && echo "${SHA1} */tmp/java/jdk.tar.gz" | sha1sum -c - && tar xzf /tmp/java/jdk.tar.gz -C /tmp/java && UNPACKED_ROOT=/tmp/java/jdk-${LIBERICA_VERSION}* && case $LIBERICA_IMAGE_VARIANT in base) apk --no-cache add binutils && mkdir -pv "${LIBERICA_JVM_DIR}" && ${UNPACKED_ROOT}/bin/jlink --add-modules java.base --compress=2 --no-header-files --no-man-pages --strip-debug --module-path ${UNPACKED_ROOT}/jmods --vm=server --release-info ${UNPACKED_ROOT}/release --output "${LIBERICA_ROOT}" && apk del binutils ;; base-minimal) apk --no-cache add binutils && mkdir -pv "${LIBERICA_JVM_DIR}" && ${UNPACKED_ROOT}/bin/jlink --add-modules java.base --compress=2 --no-header-files --no-man-pages --strip-debug --module-path ${UNPACKED_ROOT}/jmods --vm=minimal --release-info ${UNPACKED_ROOT}/release --output "${LIBERICA_ROOT}" && apk del binutils ;; standard) apk --no-cache add binutils && mkdir -pv "${LIBERICA_ROOT}" && find /tmp/java/jdk* -maxdepth 1 -mindepth 1 -exec mv -v "{}" "${LIBERICA_ROOT}/" \; && case ${LIBERICA_VM} in client) rm -rf ${LIBERICA_ROOT}/lib/server && rm -rf ${LIBERICA_ROOT}/lib/minimal && echo "-client KNOWN" > ${LIBERICA_ROOT}/lib/jvm.cfg && echo "-server ALIASED_TO -client" >> ${LIBERICA_ROOT}/lib/jvm.cfg ;; server) rm -rf ${LIBERICA_ROOT}/lib/client && rm -rf ${LIBERICA_ROOT}/lib/minimal && echo "-server KNOWN" > ${LIBERICA_ROOT}/lib/jvm.cfg && echo "-client ALIASED_TO -server" >> ${LIBERICA_ROOT}/lib/jvm.cfg ;; minimal) ([ ! -f ${LIBERICA_ROOT}/lib/minimal ] && echo "Standard Liberica JDK does not have minimal VM" && exit 1 ) && rm -rf ${LIBERICA_ROOT}/lib/server && rm -rf ${LIBERICA_ROOT}/lib/minimal && echo "-minimal KNOWN" > ${LIBERICA_ROOT}/lib/jvm.cfg && echo "-client ALIASED_TO -minimal" >> ${LIBERICA_ROOT}/lib/jvm.cfg && echo "-client ALIASED_TO -minimal" >> ${LIBERICA_ROOT}/lib/jvm.cfg ;; all) echo ;; *) echo "Unknows LIBERICA_VM value \"${LIBERICA_VM}\"" && exit 1 ;; esac && apk del binutils ;; *) MODS=$( ls ${UNPACKED_ROOT}/jmods/ | sed "s/.jmod//" | grep -v javafx | tr '\n' ', ' | sed "s/,$//") && apk --no-cache add binutils && mkdir -pv "${LIBERICA_JVM_DIR}" && ${UNPACKED_ROOT}/bin/jlink --add-modules ${MODS} --compress=2 --no-man-pages --module-path ${UNPACKED_ROOT}/jmods --vm=${LIBERICA_VM} --release-info ${UNPACKED_ROOT}/release --output "${LIBERICA_ROOT}" && apk del binutils ;; esac && ln -s $LIBERICA_ROOT /usr/lib/jvm/jdk && rm -rf /tmp/java && rm -rf /tmp/hsperfdata_root
2023-07-19 19:56:57 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/usr/lib/jvm/jdk-17.0.8-bellsoft-x86_64 PATH=/usr/lib/jvm/jdk-17.0.8-bellsoft-x86_64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2023-08-08 19:33:55 UTC (buildkit.dockerfile.v0)COPY build/libs/*.jar app.jar # buildkit
2023-08-08 19:33:55 UTC (buildkit.dockerfile.v0)EXPOSE map[8080/tcp:{}]
2023-08-08 19:33:55 UTC (buildkit.dockerfile.v0)ENV GROUPS_TO_REMOVE=CLI
2023-08-08 19:33:55 UTC (buildkit.dockerfile.v0)CMD ["java" "-jar" "/app.jar"]
2023-08-08 19:33:54 UTC
138 MB
CLI
JAVA_HOME/usr/lib/jvm/jdk-17.0.8-bellsoft-aarch64
LANGen_US.UTF-8
LANGUAGEen_US.UTF-8:en
PATH/usr/lib/jvm/jdk-17.0.8-bellsoft-aarch64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:8c6d1654570f041603f4cef49c320c8f6f3e401324913009d92a19132cbf1ac0 - 2.3% (3.18 MB)
[#001] sha256:05190f900fd384568707237b52eb3edfd3703e64daaa671096bd460c82be8608 - 1.84% (2.54 MB)
[#002] sha256:2cedbd47b4864dd070f44acd16eca446f032b779848ac3dc97c1378dffc9be73 - 49.49% (68.3 MB)
[#003] sha256:128fb5c28cb135be4f6eac44b53927755f12848ce721ce9b648b1d391c94c4b9 - 46.36% (64 MB)
/bin/sh -c #(nop) ADD file:289c2fac17119508ced527225d445747cd177111b4a0018a6b04948ecb3b5e29 in /
2023-06-14 20:48:58 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2023-07-20 13:01:22 UTC/bin/sh -c #(nop) ARG GLIBC_PREFIX=/usr/glibc
2023-07-20 13:01:22 UTC/bin/sh -c #(nop) ARG EXT_GCC_LIBS_URL=https://archive.archlinux.org/packages/g/gcc-libs/gcc-libs-8.3.0-1-x86_64.pkg.tar.xz
2023-07-20 13:01:23 UTC/bin/sh -c #(nop) ARG EXT_ZLIB_URL=https://archive.archlinux.org/packages/z/zlib/zlib-1%3A1.2.11-3-x86_64.pkg.tar.xz
2023-07-20 13:01:23 UTC/bin/sh -c #(nop) ARG LANG=en_US.UTF-8
2023-07-20 13:01:24 UTC/bin/sh -c #(nop) ARG OPT_PKGS=
2023-07-20 13:01:24 UTC/bin/sh -c #(nop) ENV LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8:en
2023-07-20 13:01:25 UTC/bin/sh -c #(nop) ARG LIBERICA_IMAGE_VARIANT=lite
2023-07-20 13:01:25 UTC/bin/sh -c #(nop) ARG LIBERICA_VM=server
2023-07-20 13:01:26 UTC/bin/sh -c #(nop) ARG LIBERICA_JVM_DIR=/usr/lib/jvm
2023-07-20 13:01:26 UTC/bin/sh -c #(nop) ARG LIBERICA_VERSION=17.0.8
2023-07-20 13:01:27 UTC/bin/sh -c #(nop) ARG LIBERICA_BUILD=7
2023-07-20 13:01:27 UTC/bin/sh -c #(nop) ARG LIBERICA_ROOT=/usr/lib/jvm/jdk-17.0.8-bellsoft
2023-07-20 13:01:28 UTC/bin/sh -c #(nop) COPY dir:15ee18f5ba349ba1a97b9f936ffd8afbdd2c6161ac6143a5b8cf08a6ef7c26df in /
2023-07-20 13:01:50 UTC|10 EXT_GCC_LIBS_URL=https://archive.archlinux.org/packages/g/gcc-libs/gcc-libs-8.3.0-1-x86_64.pkg.tar.xz EXT_ZLIB_URL=https://archive.archlinux.org/packages/z/zlib/zlib-1%3A1.2.11-3-x86_64.pkg.tar.xz GLIBC_PREFIX=/usr/glibc LIBERICA_BUILD=7 LIBERICA_IMAGE_VARIANT=lite LIBERICA_JVM_DIR=/usr/lib/jvm LIBERICA_ROOT=/usr/lib/jvm/jdk-17.0.8-bellsoft-aarch64 LIBERICA_VERSION=17.0.8 LIBERICA_VM=server OPT_PKGS= /bin/sh -c LIBERICA_ARCH='' && apk --no-cache upgrade libcrypto1.1 libssl1.1 && set -x && case `uname -m` in x86_64) LIBERICA_ARCH="amd64" ;; i686) LIBERICA_ARCH="i586" ;; aarch64) LIBERICA_ARCH="aarch64" ;; armv[67]l) LIBERICA_ARCH="arm32-vfp-hflt"; ;; ppc64le) LIBERICA_ARCH="ppc64le"; ;; *) LIBERICA_ARCH=`uname -m` ;; esac && ln -s ${GLIBC_PREFIX}/lib/ld-*.so* /lib && ln -s ${GLIBC_PREFIX}/etc/ld.so.cache /etc && if [ "$LIBERICA_ARCH" = "amd64" ]; then ln -s /lib /lib64 && mkdir /tmp/zlib && wget -O - "${EXT_ZLIB_URL}" | tar xJf - -C /tmp/zlib && cp -dP /tmp/zlib/usr/lib/libz.so* "${GLIBC_PREFIX}/lib" && rm -rf /tmp/zlib && mkdir /tmp/gcc && wget -O - "${EXT_GCC_LIBS_URL}" | tar xJf - -C /tmp/gcc && cp -dP /tmp/gcc/usr/lib/libgcc* /tmp/gcc/usr/lib/libstdc++* "${GLIBC_PREFIX}/lib" && rm -rf /tmp/gcc; fi && for pkg in $OPT_PKGS ; do apk --no-cache add $pkg ; done && ${GLIBC_PREFIX}/sbin/ldconfig && echo 'hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4' > /etc/nsswitch.conf && case "$LIBERICA_IMAGE_VARIANT" in standard) RSUFFIX="" && LITE_URL="" ;; lite|base|base-minimal) RSUFFIX="-lite" && LITE_URL="/docker" ;; *) echo "Invalid parameter LIBERICA_IMAGE_VARIANT = ${LIBERICA_IMAGE_VARIANT}" && echo "LIBERICA_IMAGE_VARIANT can be one of [standard|lite|base|base-minimal]" && exit 1 ;; esac && if [[ ${LIBERICA_IMAGE_VARIANT} == "standard" || ${LIBERICA_IMAGE_VARIANT} == "lite" ]]; then case $LIBERICA_VM in server|client|minimal|all) echo ;; *) echo "Only server, client, minimal or all VM is avalable for LIBERICA_VM argument" && echo "example: LIBERICA_VM='server'" && exit 1 ;; esac; fi && for pkg in $OPT_PKGS ; do apk --no-cache add $pkg ; done && mkdir -p /tmp/java && LIBERICA_BUILD_STR=${LIBERICA_BUILD:+"+${LIBERICA_BUILD}"} && PKG="bellsoft-jdk${LIBERICA_VERSION}${LIBERICA_BUILD_STR}-linux-${LIBERICA_ARCH}${RSUFFIX}.tar.gz" && PKG_URL="https://download.bell-sw.com/java/${LIBERICA_VERSION}${LIBERICA_BUILD_STR}${LITE_URL}/${PKG}" && echo "Download ${PKG_URL}" && wget "${PKG_URL}" -O /tmp/java/jdk.tar.gz && SHA_URL="https://download.bell-sw.com/java/${LIBERICA_VERSION}${LIBERICA_BUILD_STR}/docker/sha1sum.txt" && if [ ${LIBERICA_IMAGE_VARIANT} == "standard" ]; then SHA_URL="https://download.bell-sw.com/sha1sum/java/${LIBERICA_VERSION}${LIBERICA_BUILD_STR}"; fi && SHA1=$(wget -q "${SHA_URL}" -O - | grep ${PKG} | cut -f1 -d' ' ) && echo "${SHA1} */tmp/java/jdk.tar.gz" | sha1sum -c - && tar xzf /tmp/java/jdk.tar.gz -C /tmp/java && UNPACKED_ROOT=/tmp/java/jdk-${LIBERICA_VERSION}* && case $LIBERICA_IMAGE_VARIANT in base) apk --no-cache add binutils && mkdir -pv "${LIBERICA_JVM_DIR}" && ${UNPACKED_ROOT}/bin/jlink --add-modules java.base --compress=2 --no-header-files --no-man-pages --strip-debug --module-path ${UNPACKED_ROOT}/jmods --vm=server --release-info ${UNPACKED_ROOT}/release --output "${LIBERICA_ROOT}" && apk del binutils ;; base-minimal) apk --no-cache add binutils && mkdir -pv "${LIBERICA_JVM_DIR}" && ${UNPACKED_ROOT}/bin/jlink --add-modules java.base --compress=2 --no-header-files --no-man-pages --strip-debug --module-path ${UNPACKED_ROOT}/jmods --vm=minimal --release-info ${UNPACKED_ROOT}/release --output "${LIBERICA_ROOT}" && apk del binutils ;; standard) apk --no-cache add binutils && mkdir -pv "${LIBERICA_ROOT}" && find /tmp/java/jdk* -maxdepth 1 -mindepth 1 -exec mv -v "{}" "${LIBERICA_ROOT}/" \; && case ${LIBERICA_VM} in client) rm -rf ${LIBERICA_ROOT}/lib/server && rm -rf ${LIBERICA_ROOT}/lib/minimal && echo "-client KNOWN" > ${LIBERICA_ROOT}/lib/jvm.cfg && echo "-server ALIASED_TO -client" >> ${LIBERICA_ROOT}/lib/jvm.cfg ;; server) rm -rf ${LIBERICA_ROOT}/lib/client && rm -rf ${LIBERICA_ROOT}/lib/minimal && echo "-server KNOWN" > ${LIBERICA_ROOT}/lib/jvm.cfg && echo "-client ALIASED_TO -server" >> ${LIBERICA_ROOT}/lib/jvm.cfg ;; minimal) ([ ! -f ${LIBERICA_ROOT}/lib/minimal ] && echo "Standard Liberica JDK does not have minimal VM" && exit 1 ) && rm -rf ${LIBERICA_ROOT}/lib/server && rm -rf ${LIBERICA_ROOT}/lib/minimal && echo "-minimal KNOWN" > ${LIBERICA_ROOT}/lib/jvm.cfg && echo "-client ALIASED_TO -minimal" >> ${LIBERICA_ROOT}/lib/jvm.cfg && echo "-client ALIASED_TO -minimal" >> ${LIBERICA_ROOT}/lib/jvm.cfg ;; all) echo ;; *) echo "Unknows LIBERICA_VM value \"${LIBERICA_VM}\"" && exit 1 ;; esac && apk del binutils ;; *) MODS=$( ls ${UNPACKED_ROOT}/jmods/ | sed "s/.jmod//" | grep -v javafx | tr '\n' ', ' | sed "s/,$//") && apk --no-cache add binutils && mkdir -pv "${LIBERICA_JVM_DIR}" && ${UNPACKED_ROOT}/bin/jlink --add-modules ${MODS} --compress=2 --no-man-pages --module-path ${UNPACKED_ROOT}/jmods --vm=${LIBERICA_VM} --release-info ${UNPACKED_ROOT}/release --output "${LIBERICA_ROOT}" && apk del binutils ;; esac && ln -s $LIBERICA_ROOT /usr/lib/jvm/jdk && rm -rf /tmp/java && rm -rf /tmp/hsperfdata_root
2023-07-20 13:01:52 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/usr/lib/jvm/jdk-17.0.8-bellsoft-aarch64 PATH=/usr/lib/jvm/jdk-17.0.8-bellsoft-aarch64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2023-08-08 19:33:54 UTC (buildkit.dockerfile.v0)COPY build/libs/*.jar app.jar # buildkit
2023-08-08 19:33:54 UTC (buildkit.dockerfile.v0)EXPOSE map[8080/tcp:{}]
2023-08-08 19:33:54 UTC (buildkit.dockerfile.v0)ENV GROUPS_TO_REMOVE=CLI
2023-08-08 19:33:54 UTC (buildkit.dockerfile.v0)CMD ["java" "-jar" "/app.jar"]
Please be careful as this will not just delete the reference but also the actual content!
For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.