镜像构建历史
# 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 10.67MB 执行命令并创建新的镜像层
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 ["/bin/bash" "/__cacert_entrypoint.sh"]
# 2024-06-18 03:26:44 4.55KB 复制新文件或目录到容器中
COPY 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.96MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in amd64) ESUM='e0c1938093da3780e4494d366a4e6b75584dde8d46a19acea6691ae11df4cda5'; BINARY_URL='https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.24%2B8/OpenJDK11U-jre_x64_linux_hotspot_11.0.24_8.tar.gz'; ;; arm64) ESUM='1fe97cdaad47d7d108f329c6e4560b46748ef7f2948a1027812ade0bbc2a3597'; BINARY_URL='https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.24%2B8/OpenJDK11U-jre_aarch64_linux_hotspot_11.0.24_8.tar.gz'; ;; armhf) ESUM='bf893085627c6ec484e63aa1290276b23bcfee547459da6b0432ae9c5c1be22a'; BINARY_URL='https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.24%2B8/OpenJDK11U-jre_arm_linux_hotspot_11.0.24_8.tar.gz'; ;; ppc64el) ESUM='8ee351314182df93fbad96139bb74b97814944d66197896e388404a1ecfa06b3'; BINARY_URL='https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.24%2B8/OpenJDK11U-jre_ppc64le_linux_hotspot_11.0.24_8.tar.gz'; ;; s390x) ESUM='5b331f093bb03126334bbbc24f05f60681baeda461d860e4e2cdb693ee54e0ed'; BINARY_URL='https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.24%2B8/OpenJDK11U-jre_s390x_linux_hotspot_11.0.24_8.tar.gz'; ;; *) echo "Unsupported arch: ${ARCH}"; exit 1; ;; esac; wget --progress=dot:giga -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; 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-11.0.24+8
# 2024-06-18 03:26:44 36.09MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; apt-get update; DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends curl wget 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:d5da92199726e42da09a6f75a778befb607fe3f79e4afaf7ef5188329b26b386 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:a6b7ffdb8a31a755c12b6a7c721c342acd6b8e20f01914f4bf3897eb06b0adae",
"RepoTags": [
"flink:1.19",
"flink:1.19.1-java11",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/flink:1.19",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/flink:1.19.1-java11"
],
"RepoDigests": [
"flink@sha256:4c05f236cf5eb5e312235e0052b09cf89f4ae88c55ca5f4b92afcf17f556c003",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/flink@sha256:72d6951ad564fdf974362ddfcd8c5976cec0ca07117141a8cfd241b484b8cd83"
],
"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-11.0.24+8",
"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": 797228713,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/e7dc1b96df4d731493b084ab847d527b3af740429e96779e7ac2e5e04bdc9b2a/diff:/var/lib/docker/overlay2/87e2d77abba014e7f815e80decdd13b66a2ca0f91a84f70e0865d3560460cda3/diff:/var/lib/docker/overlay2/d1c2c8de5b790fa91b81857a249f61b8a9def2591a17984920a110e7dcfc8637/diff:/var/lib/docker/overlay2/92bac0a2573f2bcf3042db036bc6b5f8163009b80d6db948cb3bb78fd1442c3a/diff:/var/lib/docker/overlay2/666085add6d08876187b1b7e8a2dbfd0b6ee357741d7a7b251b7e878b29a07b7/diff:/var/lib/docker/overlay2/830e5799aa1fde09fa11e4646df8c2a45085d60ec985493fbd5ab95a1190978e/diff:/var/lib/docker/overlay2/c9c19b2a795eba0738656a7470a5ec78323e24e6eb386a3fd8fd54ad9409c866/diff:/var/lib/docker/overlay2/ecfb15a222b0a741c7c875ffe686683a8cc94bfa6890becf0bea0ea5c5860326/diff:/var/lib/docker/overlay2/5b0cd52fb5fc439b67ef55ded2cf709025e753b71663b84fdd08b1ed487f4bad/diff:/var/lib/docker/overlay2/d7351bf99f5aa7aadb640bb984157d7376c627eb72c0bfcbfc73472beb95f804/diff",
"MergedDir": "/var/lib/docker/overlay2/da7560873acf7711416732d346845beed399afeae357801723978afcf9e1a59e/merged",
"UpperDir": "/var/lib/docker/overlay2/da7560873acf7711416732d346845beed399afeae357801723978afcf9e1a59e/diff",
"WorkDir": "/var/lib/docker/overlay2/da7560873acf7711416732d346845beed399afeae357801723978afcf9e1a59e/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:931b7ff0cb6f494b27d31a4cbec3efe62ac54676add9c7469560302f1541ecaf",
"sha256:6b55d85ee844ac1096379dafa9837432ea986dc7b35af93798aaae7938a042b8",
"sha256:5e9806ebfbcf4ccc477d9bb2c649caaff9be971607005b9aba809d70f1851c70",
"sha256:560f9116bdea43e1ee8dd0834b0e63ea7ef24258e6dd34ba1458407bfe12f527",
"sha256:94366f2605e0f8b3f123968c27acfc0b596b6f8ea845561fb57503eb16fd9915",
"sha256:a4c9db43b0d7985699b21fc68405d5a61d3a2b769b56361fbe9019a7d9b75e42",
"sha256:d25fdb22c50cc6b2d2f63987b6870a1a35ade9d5066f5900cf66588403d11219",
"sha256:f867098444f64f1c558d703cf7f2dc7108056f931b5541c6e21deef89687f9bf",
"sha256:d2ec04d51cf95a62baa0607a2900a46c4ca8d8495b17761bf420fb7acfc0e2af",
"sha256:f040dcbc93664f8d88fd8cd8c3ce9d8be424e6c2e4205d56a067de7c9de29085",
"sha256:8cbd99ef6aa2cb5c607e5115092409663f1b489f06b4421873c66c43dfb780b7"
]
},
"Metadata": {
"LastTagTime": "2024-08-05T21:33:55.568733681+08:00"
}
}