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

docker.io/library/flink:1.18.1-scala_2.12-java17 - 国内下载镜像源 浏览次数:168 安全受验证的发布者-Docker
Apache Flink Apache Flink 是一个开源流处理框架,可以实时处理大规模数据。它可以从各种数据源中获取数据,并对其进行转换、过滤、组合和聚合等操作,最后将结果写回目标数据存储系统中。
源镜像 docker.io/library/flink:1.18.1-scala_2.12-java17
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/flink:1.18.1-scala_2.12-java17
镜像ID sha256:309bf44257d2595fbf9518b8999f29cde40d40eccd21b4159681ac845f101263
镜像TAG 1.18.1-scala_2.12-java17
大小 795.95MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD help
启动入口 /docker-entrypoint.sh
工作目录 /opt/flink
OS/平台 linux/amd64
浏览量 168 次
贡献者 xi*********i@sungrowpower.com
镜像创建 2024-05-24T10:52:42Z
同步时间 2024-09-23 14:44
更新时间 2025-01-17 12:08
开放端口
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.18.1/flink-1.18.1-bin-scala_2.12.tgz FLINK_ASC_URL=https://downloads.apache.org/flink/flink-1.18.1/flink-1.18.1-bin-scala_2.12.tgz.asc GPG_KEY=96AE0E32CBE6E0753CE6DF6CB078D1D3253A8D82 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-10-27 08:12

低危漏洞:46 中危漏洞:12 高危漏洞:0 严重漏洞:0

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/flink:1.18.1-scala_2.12-java17
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/flink:1.18.1-scala_2.12-java17  docker.io/library/flink:1.18.1-scala_2.12-java17

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2024-05-24 18:52:42  0.00B 设置默认要执行的命令
CMD ["help"]
                        
# 2024-05-24 18:52:42  0.00B 声明容器运行时监听的端口
EXPOSE map[6123/tcp:{} 8081/tcp:{}]
                        
# 2024-05-24 18:52:42  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/docker-entrypoint.sh"]
                        
# 2024-05-24 18:52:42  5.29KB 复制新文件或目录到容器中
COPY docker-entrypoint.sh / # buildkit
                        
# 2024-05-24 18:52:42  524.73MB 执行命令并创建新的镜像层
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 .;     sed -i 's/rest.address: localhost/rest.address: 0.0.0.0/g' $FLINK_HOME/conf/flink-conf.yaml;   sed -i 's/rest.bind-address: localhost/rest.bind-address: 0.0.0.0/g' $FLINK_HOME/conf/flink-conf.yaml;   sed -i 's/jobmanager.bind-host: localhost/jobmanager.bind-host: 0.0.0.0/g' $FLINK_HOME/conf/flink-conf.yaml;   sed -i 's/taskmanager.bind-host: localhost/taskmanager.bind-host: 0.0.0.0/g' $FLINK_HOME/conf/flink-conf.yaml;   sed -i '/taskmanager.host: localhost/d' $FLINK_HOME/conf/flink-conf.yaml; # buildkit
                        
# 2024-05-24 18:52:42  0.00B 设置工作目录为/opt/flink
WORKDIR /opt/flink
                        
# 2024-05-24 18:52:42  3.24MB 执行命令并创建新的镜像层
RUN /bin/sh -c groupadd --system --gid=9999 flink &&     useradd --system --home-dir $FLINK_HOME --uid=9999 --gid=flink flink # buildkit
                        
# 2024-05-24 18:52:42  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-05-24 18:52:42  0.00B 设置环境变量 FLINK_HOME
ENV FLINK_HOME=/opt/flink
                        
# 2024-05-24 18:52:42  0.00B 设置环境变量 FLINK_TGZ_URL FLINK_ASC_URL GPG_KEY CHECK_GPG
ENV FLINK_TGZ_URL=https://dlcdn.apache.org/flink/flink-1.18.1/flink-1.18.1-bin-scala_2.12.tgz FLINK_ASC_URL=https://downloads.apache.org/flink/flink-1.18.1/flink-1.18.1-bin-scala_2.12.tgz.asc GPG_KEY=96AE0E32CBE6E0753CE6DF6CB078D1D3253A8D82 CHECK_GPG=true
                        
# 2024-05-24 18:52:42  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-05-24 18:52:42  0.00B 设置环境变量 GOSU_VERSION
ENV GOSU_VERSION=1.11
                        
# 2024-05-24 18:52:42  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-05-24 18:52:42  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/__cacert_entrypoint.sh"]
                        
# 2024-05-24 18:52:42  4.74KB 复制新文件或目录到容器中
COPY --chmod=755 entrypoint.sh /__cacert_entrypoint.sh # buildkit
                        
# 2024-05-24 18:52:42  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux;     echo "Verifying install ...";     echo "java --version"; java --version;     echo "Complete." # buildkit
                        
# 2024-05-24 18:52:42  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-05-24 18:52:42  0.00B 设置环境变量 JAVA_VERSION
ENV JAVA_VERSION=jdk-17.0.12+7
                        
# 2024-05-24 18:52:42  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-05-24 18:52:42  0.00B 设置环境变量 LANG LANGUAGE LC_ALL
ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
                        
# 2024-05-24 18:52:42  0.00B 设置环境变量 PATH
ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2024-05-24 18:52:42  0.00B 设置环境变量 JAVA_HOME
ENV JAVA_HOME=/opt/java/openjdk
                        
# 2024-05-24 18:52:42  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/bash"]
                        
# 2024-05-24 18:52:42  77.86MB 
/bin/sh -c #(nop) ADD file:ebe009f86035c175ba244badd298a2582914415cf62783d510eab3a311a5d4e1 in / 
                        
# 2024-05-24 18:52:42  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.version=22.04
                        
# 2024-05-24 18:52:42  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.ref.name=ubuntu
                        
# 2024-05-24 18:52:42  0.00B 
/bin/sh -c #(nop)  ARG LAUNCHPAD_BUILD_ARCH
                        
# 2024-05-24 18:52:42  0.00B 
/bin/sh -c #(nop)  ARG RELEASE
                        
                    

镜像信息

{
    "Id": "sha256:309bf44257d2595fbf9518b8999f29cde40d40eccd21b4159681ac845f101263",
    "RepoTags": [
        "flink:1.18.1-scala_2.12-java17",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/flink:1.18.1-scala_2.12-java17"
    ],
    "RepoDigests": [
        "flink@sha256:94d2ee332d777c3c51a7beffcfba0ab464dc72414ba338f57efdb2d3753bb6cb",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/flink@sha256:c1ba71aeddab2f68d60b430b4d3981e639ead81de8baa928f38023ebd24682db"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-05-24T10:52:42Z",
    "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.18.1/flink-1.18.1-bin-scala_2.12.tgz",
            "FLINK_ASC_URL=https://downloads.apache.org/flink/flink-1.18.1/flink-1.18.1-bin-scala_2.12.tgz.asc",
            "GPG_KEY=96AE0E32CBE6E0753CE6DF6CB078D1D3253A8D82",
            "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": 795947576,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/08ec3f0a95c64fbdbff8601541d6852ab53f610308fb7d4e1a869cb209ccccc8/diff:/var/lib/docker/overlay2/9471e0225e350b32a5da0b196eb8db530d189867a7c7f6d2d9c4a4d07b1afa4c/diff:/var/lib/docker/overlay2/f9f05106f8287ac173ddda06310bfe304d15334c1923d3d84c0f05590519f9e2/diff:/var/lib/docker/overlay2/756f22c9b74dbb45bae9a6a96245701991aa39f6a879d58b509bf2822ea3b7d2/diff:/var/lib/docker/overlay2/803ed5f3d16ef2f06f94cd97d201b95a87946256ca5653bebe09f087e21ee966/diff:/var/lib/docker/overlay2/fb837a25f977830e0cdaf40a731ba5df34c300e78c7af31df59b1d92af41d6a9/diff:/var/lib/docker/overlay2/aafafec6da61c1c1cc9911894834bebe719369b30521f32264749f8bba332b58/diff:/var/lib/docker/overlay2/b3ecfef9561f23cacd683c6e824b3002c6a0f33578aef53fdc27711db4b23fd1/diff:/var/lib/docker/overlay2/90dae6557f9199c8f92d33f02c6a338f39c70b2cd9f37696c351053c39045651/diff:/var/lib/docker/overlay2/4cfb2ff6eb670d08d805fcc326973c76acabc424b2f6ce5f1903149f34750452/diff",
            "MergedDir": "/var/lib/docker/overlay2/9f8edc94c2c109aee017cf5c862a9c0a11d1fc6e1df024e0343c9a89a9e3f125/merged",
            "UpperDir": "/var/lib/docker/overlay2/9f8edc94c2c109aee017cf5c862a9c0a11d1fc6e1df024e0343c9a89a9e3f125/diff",
            "WorkDir": "/var/lib/docker/overlay2/9f8edc94c2c109aee017cf5c862a9c0a11d1fc6e1df024e0343c9a89a9e3f125/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:2573e0d8158209ed54ab25c87bcdcb00bd3d2539246960a3d592a1c599d70465",
            "sha256:144aa2325ef2860fd11fd7a44bb1c515d9d7a9dc06797043f847efb30d776480",
            "sha256:72c290755b94209c2982832c0dd35ea758b4336e44e69bda55a2b10aa01dce19",
            "sha256:780fa6d3fe6df8c1ebf38706907fb4ede62c1746a6bf05258ec8b13e3b833f80",
            "sha256:d36b0686846ee9dbaa9afb61fd328c35fe7f977da497c7f92208be0e40fd32ec",
            "sha256:ee349db57300b8f0fbf067b761aea490f718f0cc4bb2f84cc0400d3c5a3a40c1",
            "sha256:afecaa704d3637463bb01a91798aa63903fb31f686b34e100c84a80e9321acd7",
            "sha256:11bbbe21b9c9cebf068ced853c96032a5d2091268bbf6dc8385ca66f026b313f",
            "sha256:37224a26ebb0107477162e31bd9712476901ae3dcab0073cf75775fe1b7eb683",
            "sha256:3f1840e57b2c96714b10071487d9ee6c6140f7e0362254e39d185b39fed5a1c9",
            "sha256:88099a35856763ca82c98f44e084b3fd477df64790ed95bed97dbdf79fb6cdcb"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-09-23T14:43:32.542237652+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
167

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
83