jdk (21)
Installation
docker pull git.winteraccess.id/docker/jdk:21
sha256:88320657bff96882c01fde841b570373460fe8b92b7aabaaa9c45805aeb38dc3
Image Layers
LABEL maintainer="Red Hat, Inc." vendor="Red Hat, Inc." |
LABEL url="https://www.redhat.com" |
LABEL com.redhat.component="ubi9-container" name="ubi9" version="9.5" distribution-scope="public" |
LABEL com.redhat.license_terms="https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI" |
LABEL summary="Provides the latest release of Red Hat Universal Base Image 9." |
LABEL description="The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly." |
LABEL io.k8s.description="The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly." |
LABEL io.k8s.display-name="Red Hat Universal Base Image 9" |
LABEL io.openshift.expose-services="" |
LABEL io.openshift.tags="base rhel9" |
ENV container oci |
COPY dir:6e388bec01400ec35da0a5b5a2596b41da834e86ca148940cbc732afde5a8f48 in / |
COPY file:b37d593713ee21ad52a4cd1424dc019a24f7966f85df0ac4b86d234302695328 in /etc/yum.repos.d/. |
CMD ["/bin/bash"] |
LABEL "build-date"="2024-11-28T14:33:45" "architecture"="x86_64" "vcs-type"="git" "vcs-ref"="2c6dc24323bfe846cd1fe51f2a65994655ca3068" "build-date"="2024-11-28T14:28:08Z" "release"="1732804088" |
/bin/sh |
LABEL maintainer=Muhamad Aditya Prima <aprimediet@gmail.com> |
ARG TIMEZONE=Asia/Jakarta |
ENV TZ=Asia/Jakarta |
RUN |1 TIMEZONE=Asia/Jakarta /bin/sh -c dnf -y install tzdata && dnf -y reinstall tzdata && dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && crb enable && dnf -y update && dnf -y autoremove && dnf -y clean all # buildkit |
LABEL maintainer=<Muhamad Aditya Prima> aprimediet@gmail.com |
ARG JAVA_VERSION=21 |
USER root |
WORKDIR /tmp |
ENV JAVA_HOME=/usr/local/share/jdk |
ENV PATH=/usr/local/share/jdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
RUN |1 JAVA_VERSION=21 /bin/sh -c groupadd -g 10001 java && useradd -u 10001 -g 10001 -m -d /app -s /sbin/nologin java && dnf -y update # buildkit |
ADD https://corretto.aws/downloads/latest/amazon-corretto-21-x64-linux-jdk.tar.gz ./ # buildkit |
RUN |1 JAVA_VERSION=21 /bin/sh -c tar -xzvf ./amazon-corretto-${JAVA_VERSION}-x64-linux-jdk.tar.gz -C /usr/local/share && mv /usr/local/share/amazon* /usr/local/share/jdk && rm -f ./amazon-corretto-${JAVA_VERSION}-x64-linux-jdk.tar.gz && chown -R java:java /usr/local/share/jdk && dnf -y autoremove && dnf -y clean all # buildkit |
USER java |
WORKDIR /app |
CMD ["/usr/local/share/jdk/bin/java"] |
Labels
Key | Value |
---|---|
architecture | x86_64 |
build-date | 2024-11-28T14:28:08Z |
com.redhat.component | ubi9-container |
com.redhat.license_terms | https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI |
description | The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly. |
distribution-scope | public |
io.buildah.version | 1.38.0-dev |
io.k8s.description | The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly. |
io.k8s.display-name | Red Hat Universal Base Image 9 |
io.openshift.expose-services | |
io.openshift.tags | base rhel9 |
maintainer | <Muhamad Aditya Prima> aprimediet@gmail.com |
name | ubi9 |
release | 1732804088 |
summary | Provides the latest release of Red Hat Universal Base Image 9. |
url | https://www.redhat.com |
vcs-ref | 2c6dc24323bfe846cd1fe51f2a65994655ca3068 |
vcs-type | git |
vendor | Red Hat, Inc. |
version | 9.5 |
Details
Versions (46)
View all
23-ubi9-micro
2024-12-13
ubi9-micro
2024-12-13
23-corretto-ubi9-micro
2024-12-13
22-ubi9-micro
2024-12-13
22-corretto-ubi9-micro
2024-12-13