镜像构建历史
# 2024-06-18 03:26:44 0.00B 设置默认要执行的命令
CMD ["help"]
# 2024-06-18 03:26:44 0.00B 声明容器运行时监听的端口
EXPOSE map[6123/tcp:{} 8081/tcp:{}]
# 2024-06-18 03:26:44 0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/docker-entrypoint.sh"]
# 2024-06-18 03:26:44 5.98KB 复制新文件或目录到容器中
COPY docker-entrypoint.sh / # buildkit
# 2024-06-18 03:26:44 526.09MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -ex; wget -nv -O flink.tgz "$FLINK_TGZ_URL"; if [ "$CHECK_GPG" = "true" ]; then wget -nv -O flink.tgz.asc "$FLINK_ASC_URL"; export GNUPGHOME="$(mktemp -d)"; for server in ha.pool.sks-keyservers.net $(shuf -e hkp://p80.pool.sks-keyservers.net:80 keyserver.ubuntu.com hkp://keyserver.ubuntu.com:80 pgp.mit.edu) ; do gpg --batch --keyserver "$server" --recv-keys "$GPG_KEY" && break || : ; done && gpg --batch --verify flink.tgz.asc flink.tgz; gpgconf --kill all; rm -rf "$GNUPGHOME" flink.tgz.asc; fi; tar -xf flink.tgz --strip-components=1; rm flink.tgz; chown -R flink:flink .; CONF_FILE="$FLINK_HOME/conf/flink-conf.yaml"; if [ ! -e "$FLINK_HOME/conf/flink-conf.yaml" ]; then CONF_FILE="${FLINK_HOME}/conf/config.yaml"; /bin/bash "$FLINK_HOME/bin/config-parser-utils.sh" "${FLINK_HOME}/conf" "${FLINK_HOME}/bin" "${FLINK_HOME}/lib" "-repKV" "rest.address,localhost,0.0.0.0" "-repKV" "rest.bind-address,localhost,0.0.0.0" "-repKV" "jobmanager.bind-host,localhost,0.0.0.0" "-repKV" "taskmanager.bind-host,localhost,0.0.0.0" "-rmKV" "taskmanager.host=localhost"; else sed -i 's/rest.address: localhost/rest.address: 0.0.0.0/g' "$CONF_FILE"; sed -i 's/rest.bind-address: localhost/rest.bind-address: 0.0.0.0/g' "$CONF_FILE"; sed -i 's/jobmanager.bind-host: localhost/jobmanager.bind-host: 0.0.0.0/g' "$CONF_FILE"; sed -i 's/taskmanager.bind-host: localhost/taskmanager.bind-host: 0.0.0.0/g' "$CONF_FILE"; sed -i '/taskmanager.host: localhost/d' "$CONF_FILE"; fi; # buildkit
# 2024-06-18 03:26:44 0.00B 设置工作目录为/opt/flink
WORKDIR /opt/flink
# 2024-06-18 03:26:44 3.24MB 执行命令并创建新的镜像层
RUN /bin/sh -c groupadd --system --gid=9999 flink && useradd --system --home-dir $FLINK_HOME --uid=9999 --gid=flink flink # buildkit
# 2024-06-18 03:26:44 0.00B 设置环境变量 PATH
ENV PATH=/opt/flink/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
# 2024-06-18 03:26:44 0.00B 设置环境变量 FLINK_HOME
ENV FLINK_HOME=/opt/flink
# 2024-06-18 03:26:44 0.00B 设置环境变量 FLINK_TGZ_URL FLINK_ASC_URL GPG_KEY CHECK_GPG
ENV FLINK_TGZ_URL=https://dlcdn.apache.org/flink/flink-1.19.1/flink-1.19.1-bin-scala_2.12.tgz FLINK_ASC_URL=https://downloads.apache.org/flink/flink-1.19.1/flink-1.19.1-bin-scala_2.12.tgz.asc GPG_KEY=6378E37EB3AAEA188B9CB0D396C2914BB78A5EA1 CHECK_GPG=true
# 2024-06-18 03:26:44 2.30MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -ex; wget -nv -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture)"; wget -nv -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture).asc"; export GNUPGHOME="$(mktemp -d)"; for server in ha.pool.sks-keyservers.net $(shuf -e hkp://p80.pool.sks-keyservers.net:80 keyserver.ubuntu.com hkp://keyserver.ubuntu.com:80 pgp.mit.edu) ; do gpg --batch --keyserver "$server" --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 && break || : ; done && gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; chmod +x /usr/local/bin/gosu; gosu nobody true # buildkit
# 2024-06-18 03:26:44 0.00B 设置环境变量 GOSU_VERSION
ENV GOSU_VERSION=1.11
# 2024-06-18 03:26:44 3.94MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -ex; apt-get update; apt-get -y install gpg libsnappy1v5 gettext-base libjemalloc-dev; rm -rf /var/lib/apt/lists/* # buildkit
# 2024-06-18 03:26:44 0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/__cacert_entrypoint.sh"]
# 2024-06-18 03:26:44 5.31KB 复制新文件或目录到容器中
COPY --chmod=755 entrypoint.sh /__cacert_entrypoint.sh # buildkit
# 2024-06-18 03:26:44 0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; echo "Verifying install ..."; echo "java --version"; java --version; echo "Complete." # buildkit
# 2024-06-18 03:26:44 140.30MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in amd64) ESUM='4086cc7cb2d9e7810141f255063caad10a8a018db5e6b47fa5394c506ab65bff'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.13%2B11/OpenJDK17U-jre_x64_linux_hotspot_17.0.13_11.tar.gz'; ;; arm64) ESUM='97c4fb748eaa1292fb2f28fec90a3eba23e35974ef67f8b3aa304ad4db2ba162'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.13%2B11/OpenJDK17U-jre_aarch64_linux_hotspot_17.0.13_11.tar.gz'; ;; armhf) ESUM='f9c4008680db016c9cab26cc2739d4553898911522f6a78a611fafa1f5270c88'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.13%2B11/OpenJDK17U-jre_arm_linux_hotspot_17.0.13_11.tar.gz'; ;; ppc64el) ESUM='790f53fcc95cc76ed8f27d3146cf789fc354a2afb7148cffd197ca61a643212f'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.13%2B11/OpenJDK17U-jre_ppc64le_linux_hotspot_17.0.13_11.tar.gz'; ;; s390x) ESUM='0f46246643b6543c097d6eda4db03dbe5c8372217e06d661ac0fb3882eab007d'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.13%2B11/OpenJDK17U-jre_s390x_linux_hotspot_17.0.13_11.tar.gz'; ;; *) echo "Unsupported arch: ${ARCH}"; exit 1; ;; esac; wget --progress=dot:giga -O /tmp/openjdk.tar.gz ${BINARY_URL}; wget --progress=dot:giga -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; find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; ldconfig; java -Xshare:dump; # buildkit
# 2024-06-18 03:26:44 0.00B 设置环境变量 JAVA_VERSION
ENV JAVA_VERSION=jdk-17.0.13+11
# 2024-06-18 03:26:44 42.91MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; apt-get update; DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends curl wget gnupg fontconfig ca-certificates p11-kit tzdata locales ; echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen; locale-gen en_US.UTF-8; rm -rf /var/lib/apt/lists/* # buildkit
# 2024-06-18 03:26:44 0.00B 设置环境变量 LANG LANGUAGE LC_ALL
ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
# 2024-06-18 03:26:44 0.00B 设置环境变量 PATH
ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
# 2024-06-18 03:26:44 0.00B 设置环境变量 JAVA_HOME
ENV JAVA_HOME=/opt/java/openjdk
# 2024-06-18 03:26:44 0.00B
/bin/sh -c #(nop) CMD ["/bin/bash"]
# 2024-06-18 03:26:44 77.86MB
/bin/sh -c #(nop) ADD file:ebe009f86035c175ba244badd298a2582914415cf62783d510eab3a311a5d4e1 in /
# 2024-06-18 03:26:44 0.00B
/bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
# 2024-06-18 03:26:44 0.00B
/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
# 2024-06-18 03:26:44 0.00B
/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
# 2024-06-18 03:26:44 0.00B
/bin/sh -c #(nop) ARG RELEASE
镜像信息
{
"Id": "sha256:2976c1225f7803f5a32734088d600f5da41453bcbdbb7b3889d6721ec7af5760",
"RepoTags": [
"flink:1.19-scala_2.12-java17",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/flink:1.19-scala_2.12-java17"
],
"RepoDigests": [
"flink@sha256:f17cb3eb6c009ac16004c11c7aa03790123e6d4098528b5e5eaa91f61d91a7ba",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/flink@sha256:d58b2851a2782c759c66bdb54956a8899c64c3b3e5287c1c488ee7713524fe9b"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2024-06-17T19:26:44Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "",
"Author": "",
"Config": {
"Hostname": "",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"6123/tcp": {},
"8081/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/opt/flink/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"JAVA_HOME=/opt/java/openjdk",
"LANG=en_US.UTF-8",
"LANGUAGE=en_US:en",
"LC_ALL=en_US.UTF-8",
"JAVA_VERSION=jdk-17.0.13+11",
"GOSU_VERSION=1.11",
"FLINK_TGZ_URL=https://dlcdn.apache.org/flink/flink-1.19.1/flink-1.19.1-bin-scala_2.12.tgz",
"FLINK_ASC_URL=https://downloads.apache.org/flink/flink-1.19.1/flink-1.19.1-bin-scala_2.12.tgz.asc",
"GPG_KEY=6378E37EB3AAEA188B9CB0D396C2914BB78A5EA1",
"CHECK_GPG=true",
"FLINK_HOME=/opt/flink"
],
"Cmd": [
"help"
],
"ArgsEscaped": true,
"Image": "",
"Volumes": null,
"WorkingDir": "/opt/flink",
"Entrypoint": [
"/docker-entrypoint.sh"
],
"OnBuild": null,
"Labels": {
"org.opencontainers.image.ref.name": "ubuntu",
"org.opencontainers.image.version": "22.04"
}
},
"Architecture": "amd64",
"Os": "linux",
"Size": 796649534,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/ae75ac2a99aef620d3bd575b052eee72751a5f334cec57870fc9cc887fca65cb/diff:/var/lib/docker/overlay2/fa455774f3fa54591103c2b4e8b3ed6169be5892ac8a1289aba00c7f9c8d304f/diff:/var/lib/docker/overlay2/3fe528dbe8334b7acb3e373b41d7159ababdcb9d76d389eddb92034d69e522e2/diff:/var/lib/docker/overlay2/b4a2ce778bae21c39e66551fbc71a1bf63f79b3a6cafd0b8e4d3e8b92865fbe4/diff:/var/lib/docker/overlay2/3378752537dd4402618bb4f4a32d00dd2880f17a690b9312c9dc84ddf8994862/diff:/var/lib/docker/overlay2/d07d8a8d5acb49061ab3faeb4af02ea42bf682e4cbc48ed25db88682ba1a5071/diff:/var/lib/docker/overlay2/557ed6fe1142ea7d91c1576f1312a3019a0a892932b3f6d79d9182d926ad9c1d/diff:/var/lib/docker/overlay2/8a58719451b9e931e1669b7cd404471a0febbb905ba4a5284181ea47d89dc5c6/diff:/var/lib/docker/overlay2/f08fb9de2221af6d384d0c23cd797530829dbc581cd677901b79f17aae360c46/diff:/var/lib/docker/overlay2/4cfb2ff6eb670d08d805fcc326973c76acabc424b2f6ce5f1903149f34750452/diff",
"MergedDir": "/var/lib/docker/overlay2/b8456f6a97dbed48a96323609a5bb33c1ba8cba6c8c3b944fcf84522f53b7777/merged",
"UpperDir": "/var/lib/docker/overlay2/b8456f6a97dbed48a96323609a5bb33c1ba8cba6c8c3b944fcf84522f53b7777/diff",
"WorkDir": "/var/lib/docker/overlay2/b8456f6a97dbed48a96323609a5bb33c1ba8cba6c8c3b944fcf84522f53b7777/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:2573e0d8158209ed54ab25c87bcdcb00bd3d2539246960a3d592a1c599d70465",
"sha256:faca0d0181dfa2d5f8c2f30ffb146435bf04ae3fabfaabbf550ce02a0b902c4f",
"sha256:7e2fcaeecfbe7922bac06fc0ee4a765252ea79ffd304652203e87b761c81b6a3",
"sha256:ab0d87d58338de329f2486227c7eb91c42179072f34a16228b5b572565135007",
"sha256:4383b527a4339bd6d13df6a4462529b61bb8c67522984397bf68bf644219cad4",
"sha256:95e5b4f74e6e61b6e391422240f27101fb82768bdfb05a8291b5cd6c20089a74",
"sha256:5c58cd9e80564b07cac27ae886932abc6d86a3b796d37cb7f333d052b1eb3cc7",
"sha256:2367674131dd77e62bb34a4d6313b38ba6ec91a6562e504e9b18fe222479fb19",
"sha256:02c6b60389b8269d0291a6c301619bff5fd4bf8224da4c904689292b1def211d",
"sha256:be860c03012a6611ec2deb92c6caed8f1e9c064860a25531f7d54e09c9504e9b",
"sha256:1826d848a8b657b784c53a4a1f555dafa0c9a00ae3639b4aad7935c9b0e40ad3"
]
},
"Metadata": {
"LastTagTime": "2024-12-07T15:52:16.592837324+08:00"
}
}