docker.io/apache/flink:1.20.0-java17 linux/amd64

docker.io/apache/flink:1.20.0-java17 - 国内下载镜像源 浏览次数:57 安全受验证的发布者-apache
Apache Flink 是一个流处理和批处理引擎,提供了实时数据处理、事件驱动处理和数据流处理等功能。它可以在 Hadoop、Spark 和 Cassandra 等大数据存储系统上运行,具有高性能、高可靠性和灵活的架构。

Apache Flink 是 Apache Software Foundation 的一个开源项目,可以用来处理各种类型的大数据,包括实时数据、历史数据和事件驱动数据等。它提供了许多有用的特性,如流处理、批处理、窗口函数、Join 等。

源镜像 docker.io/apache/flink:1.20.0-java17
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/apache/flink:1.20.0-java17
镜像ID sha256:2419cabea0d48be51b4eb1c9f441f3c1ec6bea95018bf33a1ef386fda606da83
镜像TAG 1.20.0-java17
大小 798.93MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD help
启动入口 /docker-entrypoint.sh
工作目录 /opt/flink
OS/平台 linux/amd64
浏览量 57 次
贡献者
镜像创建 2024-10-22T18:01:18.594788926+08:00
同步时间 2024-11-22 22:00
更新时间 2025-01-16 01:28
开放端口
6123/tcp 8081/tcp
环境变量
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.12+7 GOSU_VERSION=1.11 FLINK_TGZ_URL=https://dlcdn.apache.org/flink/flink-1.20.0/flink-1.20.0-bin-scala_2.12.tgz FLINK_ASC_URL=https://downloads.apache.org/flink/flink-1.20.0/flink-1.20.0-bin-scala_2.12.tgz.asc GPG_KEY=B2D64016B940A7E0B9B72E0D7D0528B28037D8BC CHECK_GPG=true FLINK_HOME=/opt/flink
镜像标签
ubuntu: org.opencontainers.image.ref.name 22.04: org.opencontainers.image.version
镜像安全扫描 查看Trivy扫描报告

系统OS: ubuntu 22.04 扫描引擎: Trivy 扫描时间: 2024-11-22 22:01

低危漏洞:47 中危漏洞:17 高危漏洞:0 严重漏洞:0

Docker拉取命令 无权限下载?点我修复

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/apache/flink:1.20.0-java17
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/apache/flink:1.20.0-java17  docker.io/apache/flink:1.20.0-java17

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/apache/flink:1.20.0-java17
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/apache/flink:1.20.0-java17  docker.io/apache/flink:1.20.0-java17

Shell快速替换命令

sed -i 's#apache/flink:1.20.0-java17#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/apache/flink:1.20.0-java17#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/apache/flink:1.20.0-java17 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/apache/flink:1.20.0-java17  docker.io/apache/flink:1.20.0-java17'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/apache/flink:1.20.0-java17 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/apache/flink:1.20.0-java17  docker.io/apache/flink:1.20.0-java17'

镜像构建历史


# 2024-10-22 18:01:18  0.00B 设置默认要执行的命令
CMD ["help"]
                        
# 2024-10-22 18:01:18  0.00B 声明容器运行时监听的端口
EXPOSE map[6123/tcp:{} 8081/tcp:{}]
                        
# 2024-10-22 18:01:18  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/docker-entrypoint.sh"]
                        
# 2024-10-22 18:01:18  5.98KB 复制新文件或目录到容器中
COPY docker-entrypoint.sh / # buildkit
                        
# 2024-10-22 18:01:18  526.78MB 执行命令并创建新的镜像层
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-10-22 17:58:53  0.00B 设置工作目录为/opt/flink
WORKDIR /opt/flink
                        
# 2024-10-22 17:58:53  3.24MB 执行命令并创建新的镜像层
RUN /bin/sh -c groupadd --system --gid=9999 flink &&     useradd --system --home-dir $FLINK_HOME --uid=9999 --gid=flink flink # buildkit
                        
# 2024-10-22 17:58:52  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-10-22 17:58:52  0.00B 设置环境变量 FLINK_HOME
ENV FLINK_HOME=/opt/flink
                        
# 2024-10-22 17:58:52  0.00B 设置环境变量 FLINK_TGZ_URL FLINK_ASC_URL GPG_KEY CHECK_GPG
ENV FLINK_TGZ_URL=https://dlcdn.apache.org/flink/flink-1.20.0/flink-1.20.0-bin-scala_2.12.tgz FLINK_ASC_URL=https://downloads.apache.org/flink/flink-1.20.0/flink-1.20.0-bin-scala_2.12.tgz.asc GPG_KEY=B2D64016B940A7E0B9B72E0D7D0528B28037D8BC CHECK_GPG=true
                        
# 2024-10-22 17:58:52  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-10-22 17:58:52  0.00B 设置环境变量 GOSU_VERSION
ENV GOSU_VERSION=1.11
                        
# 2024-10-22 17:57:53  11.57MB 执行命令并创建新的镜像层
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-08-22 15:58:33  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/__cacert_entrypoint.sh"]
                        
# 2024-08-22 15:58:33  4.74KB 复制新文件或目录到容器中
COPY --chmod=755 entrypoint.sh /__cacert_entrypoint.sh # buildkit
                        
# 2024-08-22 15:58:33  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux;     echo "Verifying install ...";     echo "java --version"; java --version;     echo "Complete." # buildkit
                        
# 2024-08-22 15:58:33  141.04MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux;     ARCH="$(dpkg --print-architecture)";     case "${ARCH}" in        amd64)          ESUM='0e8088d7a3a7496faba7ac8787db09dc0264c2bc6f568ea8024fd775a783e13c';          BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.12%2B7/OpenJDK17U-jre_x64_linux_hotspot_17.0.12_7.tar.gz';          ;;        arm64)          ESUM='9dfe4c56463690ae67d22268980d8861eb46b907d7914f8f2e6fc7b25778c8ec';          BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.12%2B7/OpenJDK17U-jre_aarch64_linux_hotspot_17.0.12_7.tar.gz';          ;;        armhf)          ESUM='f093094abe0cb2bb5a255d8180810030321073520541f289926c4682eda76136';          BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.12%2B7/OpenJDK17U-jre_arm_linux_hotspot_17.0.12_7.tar.gz';          ;;        ppc64el)          ESUM='2759c48e1e56117871b04c851af18b92b6992cf67590f602949b96c3cff15c73';          BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.12%2B7/OpenJDK17U-jre_ppc64le_linux_hotspot_17.0.12_7.tar.gz';          ;;        s390x)          ESUM='cb1a3857d10e9353862761ce3c6b45573a736ea95cea44bc02dc3a703e57255a';          BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.12%2B7/OpenJDK17U-jre_s390x_linux_hotspot_17.0.12_7.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-08-22 15:58:33  0.00B 设置环境变量 JAVA_VERSION
ENV JAVA_VERSION=jdk-17.0.12+7
                        
# 2024-08-22 15:58:33  36.12MB 执行命令并创建新的镜像层
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-08-22 15:58:33  0.00B 设置环境变量 LANG LANGUAGE LC_ALL
ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
                        
# 2024-08-22 15:58:33  0.00B 设置环境变量 PATH
ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2024-08-22 15:58:33  0.00B 设置环境变量 JAVA_HOME
ENV JAVA_HOME=/opt/java/openjdk
                        
# 2024-08-22 15:58:33  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/bash"]
                        
# 2024-08-22 15:58:33  77.86MB 
/bin/sh -c #(nop) ADD file:ebe009f86035c175ba244badd298a2582914415cf62783d510eab3a311a5d4e1 in / 
                        
# 2024-08-22 15:58:33  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.version=22.04
                        
# 2024-08-22 15:58:33  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.ref.name=ubuntu
                        
# 2024-08-22 15:58:33  0.00B 
/bin/sh -c #(nop)  ARG LAUNCHPAD_BUILD_ARCH
                        
# 2024-08-22 15:58:33  0.00B 
/bin/sh -c #(nop)  ARG RELEASE
                        
                    

镜像信息

{
    "Id": "sha256:2419cabea0d48be51b4eb1c9f441f3c1ec6bea95018bf33a1ef386fda606da83",
    "RepoTags": [
        "apache/flink:1.20.0-java17",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/apache/flink:1.20.0-java17"
    ],
    "RepoDigests": [
        "apache/flink@sha256:082fe9368101e5920d76bfc0e363405d947054aa870a617785b3936bddf493f1",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/apache/flink@sha256:168b08f173e197c3d085cc65e56c70ece0c375f621ddc1743830a9f09306fc71"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-10-22T18:01:18.594788926+08:00",
    "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.12+7",
            "GOSU_VERSION=1.11",
            "FLINK_TGZ_URL=https://dlcdn.apache.org/flink/flink-1.20.0/flink-1.20.0-bin-scala_2.12.tgz",
            "FLINK_ASC_URL=https://downloads.apache.org/flink/flink-1.20.0/flink-1.20.0-bin-scala_2.12.tgz.asc",
            "GPG_KEY=B2D64016B940A7E0B9B72E0D7D0528B28037D8BC",
            "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": 798926026,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/6f4453348ed397be43f3e50fdc4b72efaf85c4d1461cbd34f3831a57ea63d32f/diff:/var/lib/docker/overlay2/be15edeabe2ee4d96dc7a87c2c67f0d4fc2e3762242166ef5005e3c0b833d23c/diff:/var/lib/docker/overlay2/3e7cfd40e90e56e4a4ff8afcf3690bef21d6fa0f16ece9ec3e474e84784e14c5/diff:/var/lib/docker/overlay2/0840125831ac1870fdb32f81411c85059ee783c87bd8f9e0d575b2f42ea33eea/diff:/var/lib/docker/overlay2/ebe631fe1c67822cb21a85248614a0bf83cda1e73d9ede526d2c6526d9e29f11/diff:/var/lib/docker/overlay2/126059905d746c8bc35ec90b3ae3c84e3a81315e5b4436c0f8d27248e1298cbe/diff:/var/lib/docker/overlay2/5e179e43012043306ecc835e853320bb4435b1a57dfc155c3fae9fe3102b43bf/diff:/var/lib/docker/overlay2/0ea642b84a3b0822411a09624699151b587c346c8337bc543e62bc4b22ad4448/diff:/var/lib/docker/overlay2/a8bd0560594df8f0a42f430d806cb087d2014cdc1acfb1bbb5aea8dc4bd74c25/diff:/var/lib/docker/overlay2/4cfb2ff6eb670d08d805fcc326973c76acabc424b2f6ce5f1903149f34750452/diff",
            "MergedDir": "/var/lib/docker/overlay2/e38cbfaab7c8a88086687df55184652320b54028618bb2cca3dba4b3756eb360/merged",
            "UpperDir": "/var/lib/docker/overlay2/e38cbfaab7c8a88086687df55184652320b54028618bb2cca3dba4b3756eb360/diff",
            "WorkDir": "/var/lib/docker/overlay2/e38cbfaab7c8a88086687df55184652320b54028618bb2cca3dba4b3756eb360/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:2573e0d8158209ed54ab25c87bcdcb00bd3d2539246960a3d592a1c599d70465",
            "sha256:549d6419fbf160a0d4890a8dcfb2a463d9dc575387fefedb4aa383e7a05ca435",
            "sha256:347ab6b4533ef4c8cf3e3a6c411c6390f9affadc2b6710b802d9bf64c28515be",
            "sha256:6c7e7ce4ab695a2936e61a49862f616a6208ced311007984228cec02e65a9062",
            "sha256:ee5629438acafdd3df60dedd18160c043aaab544c8c142885192d9c9491d5cfe",
            "sha256:24449db7dd8823252f4d720dd62460f2b1e06169e7eeede56332a099d698542d",
            "sha256:168accaf0a3e977fb977dbffee4d1cf67afb6c6af1b09a0bc9dd5aafd0c1ca75",
            "sha256:22a944736185f6a1b9ed8e615ecde807d0187bba79281a247c70b3f96d5a6879",
            "sha256:f8df16fcb61fd26eaadfe27c9f6317bcdbfc439be97460cbe97be5c707ac3671",
            "sha256:7a79c49e39f2eacac3b616d41f592f63b503640163dbe5f11061cf132a082210",
            "sha256:daccd666f7ca6b9d50c1cb0588d187658a8cd2a518a4f66c959747ab88adb59d"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-22T21:58:47.060889678+08:00"
    }
}

更多版本

docker.io/apache/flink:1.20.0

linux/amd64 docker.io798.81MB2024-08-03 10:09
334

docker.io/apache/flink:1.19.1

linux/amd64 docker.io798.15MB2024-08-06 14:13
172

docker.io/apache/flink:1.19.0

linux/amd64 docker.io796.52MB2024-08-06 14:17
181

docker.io/apache/flink:1.20.0-scala_2.12

linux/amd64 docker.io798.81MB2024-08-06 14:17
231

docker.io/apache/flink:1.19.0-scala_2.12

linux/amd64 docker.io796.52MB2024-08-06 14:18
155

docker.io/apache/flink:1.19.1-scala_2.12

linux/amd64 docker.io798.15MB2024-08-06 14:18
145

docker.io/apache/flink:1.19.1-java8

linux/amd64 docker.io766.01MB2024-08-12 22:23
270

docker.io/apache/flink:1.15.0

linux/amd64 docker.io773.33MB2024-08-15 12:20
185

docker.io/apache/flink:1.13.6-scala_2.11

linux/amd64 docker.io637.39MB2024-08-16 15:30
142

docker.io/apache/flink-statefun:3.2.0

linux/amd64 docker.io880.02MB2024-10-15 21:04
96

docker.io/apache/flink-kubernetes-operator:1.7.0

linux/amd64 docker.io550.46MB2024-10-16 10:26
98

docker.io/apache/flink-kubernetes-operator:1.7.0

linux/arm64 docker.io533.43MB2024-10-24 16:58
79

docker.io/apache/flink:1.20.0-java17

linux/amd64 docker.io798.93MB2024-11-22 22:00
56

docker.io/apache/flink:1.17.2

linux/amd64 docker.io768.62MB2024-11-25 16:12
88

docker.io/apache/flink:1.15

linux/amd64 docker.io745.22MB2025-01-14 01:10
21