docker.io/swidzinski/cmake2:examples linux/amd64

docker.io/swidzinski/cmake2:examples - 国内下载镜像源 浏览次数:128
镜像描述如下:

cmake2

A Docker image for building and testing CMake projects.

基于 Ubuntu 20.04 的 Docker 镜像,内置了 CMake 3.23 和 GCC 9.3 等开发工具,可以用于构建和测试 CMake 项目。

源镜像 docker.io/swidzinski/cmake2:examples
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/swidzinski/cmake2:examples
镜像ID sha256:a69fc5c220825cf5a177cc22b4aa8a87c0d68aa569103a8492481b0029316ff7
镜像TAG examples
大小 1.50GB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD /bin/bash
启动入口
工作目录 /devuser/examples
OS/平台 linux/amd64
浏览量 128 次
贡献者
镜像创建 2024-05-13T09:20:33.873882971Z
同步时间 2024-09-26 19:43
更新时间 2024-12-21 23:06
开放端口
22/tcp
环境变量
PATH=/opt/cmake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin version=3.28.0
镜像标签
ubuntu: org.opencontainers.image.ref.name 22.04: org.opencontainers.image.version
镜像安全扫描 查看Trivy扫描报告

系统OS: ubuntu 22.04 扫描引擎: Trivy 扫描时间: 2024-10-27 08:28

低危漏洞:212 中危漏洞:1372 高危漏洞:27 严重漏洞:0

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/swidzinski/cmake2:examples
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/swidzinski/cmake2:examples  docker.io/swidzinski/cmake2:examples

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/swidzinski/cmake2:examples
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/swidzinski/cmake2:examples  docker.io/swidzinski/cmake2:examples

Shell快速替换命令

sed -i 's#swidzinski/cmake2:examples#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/swidzinski/cmake2:examples#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/swidzinski/cmake2:examples && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/swidzinski/cmake2:examples  docker.io/swidzinski/cmake2:examples'

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2024-05-13 17:20:33 CMD ["/bin/bash"]
0.00B 2024-05-13 17:20:33 WORKDIR /devuser/examples
22.40MB 2024-05-13 17:20:33 COPY . /devuser # buildkit
0.00B 2024-05-13 17:15:29 CMD ["/usr/sbin/sshd" "-D"]
0.00B 2024-05-13 17:15:29 EXPOSE map[22/tcp:{}]
3.33KB 2024-05-13 17:15:29 RUN /bin/sh -c echo 'PermitUserEnvironment yes' >> /etc/ssh/sshd_config # buildkit
3.30KB 2024-05-13 17:15:29 RUN /bin/sh -c echo 'PermitRootLogin no' >> /etc/ssh/sshd_config && echo 'PasswordAuthentication yes' >> /etc/ssh/sshd_config # buildkit
0.00B 2024-05-13 17:15:28 RUN /bin/sh -c mkdir /var/run/sshd # buildkit
335.02KB 2024-05-13 17:15:28 RUN /bin/sh -c useradd -m devuser && echo 'devuser:devuser' | chpasswd && adduser devuser sudo # buildkit
11.66MB 2024-05-13 17:15:27 RUN /bin/sh -c apt-get update && apt-get install -y openssh-server sudo && rm -rf /var/lib/apt/lists/* # buildkit
2.28KB 2024-05-13 17:15:21 RUN /bin/sh -c chsh -s /bin/bash # buildkit
5.80MB 2024-05-13 17:15:20 RUN /bin/sh -c cd /tmp && git clone https://github.com/ninja-build/ninja.git && cd ninja && cmake -B build-cmake && cmake --build build-cmake && cmake --install build-cmake && rm -rf /tmp/ninja # buildkit
0.00B 2024-05-13 17:14:50 ENV PATH=/opt/cmake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
150.17MB 2024-05-13 17:14:50 RUN /bin/sh -c cd /tmp && mkdir /opt/cmake && wget https://github.com/Kitware/CMake/releases/download/v$version/cmake-$version-Linux-x86_64.sh && chmod a+x ./cmake-$version-Linux-x86_64.sh && ./cmake-$version-Linux-x86_64.sh --prefix=/opt/cmake --skip-license && rm cmake-$version-Linux-x86_64.sh # buildkit
0.00B 2024-05-13 17:14:50 ENV version=3.28.0
1.39KB 2024-05-13 17:14:47 RUN /bin/sh -c cd /tmp && ./change-clang-version.sh 18 # buildkit
1.30KB 2024-05-13 17:14:47 COPY ./change-clang-version.sh /tmp # buildkit
1.23GB 2024-05-13 17:14:47 RUN /bin/sh -c apt-get update && apt-get install --no-install-recommends -y wget ca-certificates gnupg2 software-properties-common && wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | gpg --dearmor -o /usr/share/keyrings/llvm-archive-keyring.gpg && echo "deb [signed-by=/usr/share/keyrings/llvm-archive-keyring.gpg] http://apt.llvm.org/jammy/ llvm-toolchain-jammy-18 main" | tee /etc/apt/sources.list.d/llvm.list && apt-get update && apt-get install --no-install-recommends -y vim zsh tree git lcov gawk g++ make pkg-config valgrind doxygen graphviz cppcheck protobuf-compiler libprotobuf-dev libpqxx-dev clang-18 clang-tools-18 clang-format-18 clang-tidy-18 libclang-rt-18-dev && rm -rf /var/lib/apt/lists/* # buildkit
0.00B 2024-04-18 01:56:35 /bin/sh -c #(nop) CMD ["/bin/bash"]
77.86MB 2024-04-18 01:56:35 /bin/sh -c #(nop) ADD file:aa631666e3d7f8925e1308c15b2b63b5649db2cfcb079cba8218af98a5966923 in /
0.00B 2024-04-18 01:56:33 /bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
0.00B 2024-04-18 01:56:33 /bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
0.00B 2024-04-18 01:56:33 /bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
0.00B 2024-04-18 01:56:33 /bin/sh -c #(nop) ARG RELEASE

镜像信息

{
    "Id": "sha256:a69fc5c220825cf5a177cc22b4aa8a87c0d68aa569103a8492481b0029316ff7",
    "RepoTags": [
        "swidzinski/cmake2:examples",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/swidzinski/cmake2:examples"
    ],
    "RepoDigests": [
        "swidzinski/cmake2@sha256:07c8d9772d9314ad796f637b411432cdd2d4489ad021b1ff4f90c6643ab4a906",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/swidzinski/cmake2@sha256:72383e3f0995c9ca1e2ee42314a72b5d050fa92e4782e4dd0657b26b61d6820b"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-05-13T09:20:33.873882971Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "22/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/opt/cmake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "version=3.28.0"
        ],
        "Cmd": [
            "/bin/bash"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/devuser/examples",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": {
            "org.opencontainers.image.ref.name": "ubuntu",
            "org.opencontainers.image.version": "22.04"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 1503180057,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/838a088791b9a7d3b10994090d97aea97df59e3e130a016866449f81c115fa2a/diff:/var/lib/docker/overlay2/56450ec3abd2c148719d7625c138bece1e3f693a6e742af31bf2e661e167a994/diff:/var/lib/docker/overlay2/3757f390f70d97e77764b8201be5ac1db1ae6eef40edf7c9e150c05d3d831923/diff:/var/lib/docker/overlay2/fd0028056391b210db68be119631aa3611f52d0b964f24acbcce9be26b57abba/diff:/var/lib/docker/overlay2/f29af5fb2419db7a0b8de2ad33d0c72b993c7c9a59a8cd12b99ce2baa4de94b1/diff:/var/lib/docker/overlay2/bc9fa7958e1a70eafb160fa3c36ec84be9bda4c777450eede14792d329c15e71/diff:/var/lib/docker/overlay2/0d135a22cd278603350bbef68673362783a61bb7890902cb58de20959c4addf4/diff:/var/lib/docker/overlay2/134b68a80b2f151e4c09776fbbbd84a666574b41b8c0c6ea560c40f418b5b2ec/diff:/var/lib/docker/overlay2/2ba8586d9b9e0a57baacfb9ce4d70bb0c85adc979c121a52e74b508f6c4339c7/diff:/var/lib/docker/overlay2/063ce648ca3431c0b60e4719f248db4908a2e3cfd3011bafe9fdaf3b1ce19516/diff:/var/lib/docker/overlay2/dfad2f0cdc4dac67749eb8f526c9751de32f0cee725c752711922c711a690fde/diff:/var/lib/docker/overlay2/8608d6550390265b412234c2c3bc00af9fcb06faf2565ec21e300dd339c415ec/diff:/var/lib/docker/overlay2/162a597d6ac42e95432d4cae7b20d707671c69e776bea3e4942b5b12fa9e917e/diff",
            "MergedDir": "/var/lib/docker/overlay2/07fe86f40a7a1b47404d461f339c97e9b03f4b11317e561024f543dd4c0f4c65/merged",
            "UpperDir": "/var/lib/docker/overlay2/07fe86f40a7a1b47404d461f339c97e9b03f4b11317e561024f543dd4c0f4c65/diff",
            "WorkDir": "/var/lib/docker/overlay2/07fe86f40a7a1b47404d461f339c97e9b03f4b11317e561024f543dd4c0f4c65/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:b706c187b212a5c2242e664f21d3eb12fee4c1e150b300d12035284d53c56b7a",
            "sha256:452831d14d1a0ff684cb0e82df0cc162c302c6cf36443283b58884fb4ac57c49",
            "sha256:7cc3d447ee39119110ee5d492dbc92486324620867ee28605a6137be4e13b966",
            "sha256:77fa49751f0eb25a4de798b81a0d9f24a4c34500de16234c6117af80a11f2040",
            "sha256:c161b9a7eecafc69b031590e9045e1f98554f55ee2e1eb8ea8147e56a6da8065",
            "sha256:c0b4b549bf19e7301de00a5eee68283d8c38ed4152800f99bd51b3eb9df924c3",
            "sha256:6cc0e5884eb341d4238225132a3d676ab58ed22d14cf87436e8e21384a9d3027",
            "sha256:c447fbdba812febc127af4ce5104b655deac0c1aa8ddb10bfe057fb703c9569b",
            "sha256:d48bfed099476853c87188154dc033b00e50b96cd1f971ef8bf0d0c1df2b5e75",
            "sha256:103a1c939e975427ec7b8573e019da23a0a7f9d9a33e7be0a90b312bf32ef2e0",
            "sha256:2e10d4b3f25d1bc56a8c4df011b9b7a2cb912035d3ae276d668dc18283e5a9c4",
            "sha256:b0848af99ba492a119ec7593b1c3e88317ecd8d9780ba4654a82c5b1cbc24b92",
            "sha256:b79b7a39e8f40c686bbce341e46e2a9318a12abcde5798564fc46fa2b8c1f7b7",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-09-26T19:41:57.047165706+08:00"
    }
}

更多版本

docker.io/swidzinski/cmake2:examples

linux/amd64 docker.io1.50GB2024-09-26 19:43
127