docker.io/library/flink:1.20.0 linux/amd64

docker.io/library/flink:1.20.0 - 国内下载镜像源 浏览次数:101 安全受验证的发布者-Docker
Apache Flink Apache Flink 是一个开源流处理框架,可以实时处理大规模数据。它可以从各种数据源中获取数据,并对其进行转换、过滤、组合和聚合等操作,最后将结果写回目标数据存储系统中。
源镜像 docker.io/library/flink:1.20.0
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/flink:1.20.0
镜像ID sha256:47dc91b683b6b4ced973f192fc83fc3b8e7ad7d81b84bf424493b4016a1585c3
镜像TAG 1.20.0
大小 798.05MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD help
启动入口 /docker-entrypoint.sh
工作目录 /opt/flink
OS/平台 linux/amd64
浏览量 101 次
贡献者
镜像创建 2024-08-01T06:57:14Z
同步时间 2024-11-22 17:55
更新时间 2025-01-18 10:23
开放端口
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-11.0.25+9 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 17:56

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

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2024-08-01 14:57:14  0.00B 设置默认要执行的命令
CMD ["help"]
                        
# 2024-08-01 14:57:14  0.00B 声明容器运行时监听的端口
EXPOSE map[6123/tcp:{} 8081/tcp:{}]
                        
# 2024-08-01 14:57:14  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/docker-entrypoint.sh"]
                        
# 2024-08-01 14:57:14  5.98KB 复制新文件或目录到容器中
COPY docker-entrypoint.sh / # buildkit
                        
# 2024-08-01 14:57:14  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-08-01 14:57:14  0.00B 设置工作目录为/opt/flink
WORKDIR /opt/flink
                        
# 2024-08-01 14:57:14  3.24MB 执行命令并创建新的镜像层
RUN /bin/sh -c groupadd --system --gid=9999 flink &&     useradd --system --home-dir $FLINK_HOME --uid=9999 --gid=flink flink # buildkit
                        
# 2024-08-01 14:57:14  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-08-01 14:57:14  0.00B 设置环境变量 FLINK_HOME
ENV FLINK_HOME=/opt/flink
                        
# 2024-08-01 14:57:14  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-08-01 14:57:14  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-08-01 14:57:14  0.00B 设置环境变量 GOSU_VERSION
ENV GOSU_VERSION=1.11
                        
# 2024-08-01 14:57:14  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-08-01 14:57:14  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/__cacert_entrypoint.sh"]
                        
# 2024-08-01 14:57:14  5.31KB 复制新文件或目录到容器中
COPY --chmod=755 entrypoint.sh /__cacert_entrypoint.sh # buildkit
                        
# 2024-08-01 14:57:14  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux;     echo "Verifying install ...";     echo "java --version"; java --version;     echo "Complete." # buildkit
                        
# 2024-08-01 14:57:14  141.00MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux;     ARCH="$(dpkg --print-architecture)";     case "${ARCH}" in        amd64)          ESUM='84cd7101f39172a4db085fb52940595bb14dad6bc3afb5bf82ee497eceaf86d3';          BINARY_URL='https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.25%2B9/OpenJDK11U-jre_x64_linux_hotspot_11.0.25_9.tar.gz';          ;;        arm64)          ESUM='e37ba6636e31f3c9191ac7e3fd0ab7fb354a2f3b320d68bfb95efd1e053134c9';          BINARY_URL='https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.25%2B9/OpenJDK11U-jre_aarch64_linux_hotspot_11.0.25_9.tar.gz';          ;;        armhf)          ESUM='6b7b1297da762cf2b1eb4834073e6a45cda82a359efb17a89eba3fc6b59b4d26';          BINARY_URL='https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.25%2B9/OpenJDK11U-jre_arm_linux_hotspot_11.0.25_9.tar.gz';          ;;        ppc64el)          ESUM='7e7edaf34c29c304514d60f40f6c9ce58eb3e32b0dec20bb6ccd1cfbb4456698';          BINARY_URL='https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.25%2B9/OpenJDK11U-jre_ppc64le_linux_hotspot_11.0.25_9.tar.gz';          ;;        s390x)          ESUM='4ec884fe3874e258ae2253d535d3d92d6c313542fd973e8963c2eb87d68fb273';          BINARY_URL='https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.25%2B9/OpenJDK11U-jre_s390x_linux_hotspot_11.0.25_9.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-08-01 14:57:14  0.00B 设置环境变量 JAVA_VERSION
ENV JAVA_VERSION=jdk-11.0.25+9
                        
# 2024-08-01 14:57:14  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-08-01 14:57:14  0.00B 设置环境变量 LANG LANGUAGE LC_ALL
ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
                        
# 2024-08-01 14:57:14  0.00B 设置环境变量 PATH
ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2024-08-01 14:57:14  0.00B 设置环境变量 JAVA_HOME
ENV JAVA_HOME=/opt/java/openjdk
                        
# 2024-08-01 14:57:14  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/bash"]
                        
# 2024-08-01 14:57:14  77.86MB 
/bin/sh -c #(nop) ADD file:ebe009f86035c175ba244badd298a2582914415cf62783d510eab3a311a5d4e1 in / 
                        
# 2024-08-01 14:57:14  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.version=22.04
                        
# 2024-08-01 14:57:14  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.ref.name=ubuntu
                        
# 2024-08-01 14:57:14  0.00B 
/bin/sh -c #(nop)  ARG LAUNCHPAD_BUILD_ARCH
                        
# 2024-08-01 14:57:14  0.00B 
/bin/sh -c #(nop)  ARG RELEASE
                        
                    

镜像信息

{
    "Id": "sha256:47dc91b683b6b4ced973f192fc83fc3b8e7ad7d81b84bf424493b4016a1585c3",
    "RepoTags": [
        "flink:1.20.0",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/flink:1.20.0"
    ],
    "RepoDigests": [
        "flink@sha256:2ec7f6d5591444334f63b66ddd49c7ae02551cb0a27c0988790fa43caa49716f",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/flink@sha256:6da8af6b433ef15cc436e17608ba2e63c6cead06eb84f63bff2fdbb91a566b17"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-08-01T06:57:14Z",
    "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.25+9",
            "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": 798045185,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/3637d28ddd2548b57f70ae892e38774c3acb14e9249a91e8389c68d70ab9489b/diff:/var/lib/docker/overlay2/a76682f04ad4eeb5b711f6bad5d3bcb7e33a896f92224ad0789dcec1e5939c9c/diff:/var/lib/docker/overlay2/b139deb53f22ce74e38b043ddfc4315171a72fba99cc8067cbc3b005bc3bc6bc/diff:/var/lib/docker/overlay2/303c82c7cf0e7a57f5419ba9052824edd63e43674937129fca6d27be79dfed57/diff:/var/lib/docker/overlay2/9a0f1b672b104a143e2e4809d02c900856130c80cd43f4912b199f7619edbf14/diff:/var/lib/docker/overlay2/8028972b1a307480c036ccf167097d4dfe8266838812ac9c477ec308bddc988d/diff:/var/lib/docker/overlay2/edc20ba8dbb5ee4aacc595eb6f05056af1627c831fe0589b9d1ad55d3562f49c/diff:/var/lib/docker/overlay2/4f691241d8250cf9315260503d9436421c3c1975e5aeaf9060fc197739800948/diff:/var/lib/docker/overlay2/e39de6bda3a71699ba7dab45453b64d2afd137d6fc909ceece743085d2b76b6d/diff:/var/lib/docker/overlay2/4cfb2ff6eb670d08d805fcc326973c76acabc424b2f6ce5f1903149f34750452/diff",
            "MergedDir": "/var/lib/docker/overlay2/1c11d262d13adab374e5c4af53c604e584570d57ce88080fa80b75ee26ec0433/merged",
            "UpperDir": "/var/lib/docker/overlay2/1c11d262d13adab374e5c4af53c604e584570d57ce88080fa80b75ee26ec0433/diff",
            "WorkDir": "/var/lib/docker/overlay2/1c11d262d13adab374e5c4af53c604e584570d57ce88080fa80b75ee26ec0433/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:2573e0d8158209ed54ab25c87bcdcb00bd3d2539246960a3d592a1c599d70465",
            "sha256:3b6fb7c1a0c86bbfdb0c7f565e4266d44c8f5d50e6031c3b1ac85ce7dd8ded0d",
            "sha256:e3006507fbc784edc6f27bf21cdd97531252895583c0894a2467131eec07386b",
            "sha256:867f1b93e6c733fe09aa483dc5f02a203ae02c43079bff6392b9b1398ce01f36",
            "sha256:a366c067c50d2dd72b96d8faaf969bb1454dd2200049b77638986ba5674bab52",
            "sha256:da12a2f8bb5f8f4b58d9da4e1b29f6e4aef7c5347fa42938964a8eb54a3c036f",
            "sha256:d1c9b03b54c12267153ea0c8f53589c9dbde3539868714419b59b8667d3ff10a",
            "sha256:fcc55a2dc8158a8c348d901bf8111e696c220c5f2c03a185e775cda5c405d2f1",
            "sha256:4c3f9dff8d7c44e7296939d801830efd03ba10b41d6b5eed4ca6ec1e70e35ffe",
            "sha256:5207bf51bc7df18a2b3f102962fab882636ecabf8558bb879a0b115e01b2f72e",
            "sha256:c717cb898f9935194d11be50cd7c45ebef038b73fbd4af3599e10cf81d9fa29c"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-22T17:53:53.441162183+08:00"
    }
}

更多版本

docker.io/library/flink:1.19

linux/amd64 docker.io797.23MB2024-08-04 16:34
142

docker.io/library/flink:1.19.1-java11

linux/amd64 docker.io797.23MB2024-08-05 21:33
183

docker.io/library/flink:1.19.1

linux/amd64 docker.io797.23MB2024-08-06 09:34
137

docker.io/library/flink:1.19.1-java17

linux/amd64 docker.io797.31MB2024-08-12 00:15
258

docker.io/library/flink:1.18.1-scala_2.12-java17

linux/amd64 docker.io795.95MB2024-09-23 14:44
168

docker.io/library/flink:1.17

linux/arm64 docker.io754.40MB2024-10-24 17:14
114

docker.io/library/flink:1.20.0

linux/amd64 docker.io798.05MB2024-11-22 17:55
100

docker.io/library/flink:1.19-scala_2.12-java17

linux/amd64 docker.io796.65MB2024-12-07 15:53
84