docker.io/minlag/mermaid-cli:latest linux/arm64

docker.io/minlag/mermaid-cli:latest - 国内下载镜像源 浏览次数:33

温馨提示:此镜像为latest tag镜像,本站无法保证此版本为最新镜像

温馨提示: 这是一个 linux/arm64 系统架构镜像
```html

这是一个包含 Mermaid CLI 工具的 Docker 镜像。Mermaid CLI 允许您在命令行中使用 Mermaid 语言创建图表,并将这些图表转换为各种格式,例如 PNG、SVG 和 PDF。

```
源镜像 docker.io/minlag/mermaid-cli:latest
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/minlag/mermaid-cli:latest-linuxarm64
镜像ID sha256:97765f16c111e119bf9b944e12c5c407e86bfa1bd3e60ba5735f62274380874c
镜像TAG latest-linuxarm64
大小 1.86GB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD --help
启动入口 /home/mermaidcli/node_modules/.bin/mmdc -p /puppeteer-config.json
工作目录 /data
OS/平台 linux/arm64
浏览量 33 次
贡献者
镜像创建 2025-02-10T08:34:33.399739572Z
同步时间 2025-03-17 16:32
更新时间 2025-04-02 19:35
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin NODE_VERSION=18.20.5 YARN_VERSION=1.22.22

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/minlag/mermaid-cli:latest-linuxarm64
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/minlag/mermaid-cli:latest-linuxarm64  docker.io/minlag/mermaid-cli:latest

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/minlag/mermaid-cli:latest-linuxarm64
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/minlag/mermaid-cli:latest-linuxarm64  docker.io/minlag/mermaid-cli:latest

Shell快速替换命令

sed -i 's#minlag/mermaid-cli:latest#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/minlag/mermaid-cli:latest-linuxarm64#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/minlag/mermaid-cli:latest-linuxarm64 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/minlag/mermaid-cli:latest-linuxarm64  docker.io/minlag/mermaid-cli:latest'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/minlag/mermaid-cli:latest-linuxarm64 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/minlag/mermaid-cli:latest-linuxarm64  docker.io/minlag/mermaid-cli:latest'

镜像构建历史


# 2025-02-10 16:34:33  0.00B 设置默认要执行的命令
CMD ["--help"]
                        
# 2025-02-10 16:34:33  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/home/mermaidcli/node_modules/.bin/mmdc" "-p" "/puppeteer-config.json"]
                        
# 2025-02-10 16:34:33  0.00B 设置工作目录为/data
WORKDIR /data
                        
# 2025-02-10 16:34:33  0.00B 复制文件或目录到容器中
ADD puppeteer-config.json /puppeteer-config.json # buildkit
                        
# 2025-02-10 16:34:33  998.38MB 执行命令并创建新的镜像层
RUN /bin/sh -c npm install $(ls -d /install/*.tgz) # buildkit
                        
# 2025-02-10 16:32:16  0.00B 设置工作目录为/home/mermaidcli
WORKDIR /home/mermaidcli
                        
# 2025-02-10 16:32:16  0.00B 指定运行容器时使用的用户
USER mermaidcli
                        
# 2025-02-10 16:32:16  4.88KB 执行命令并创建新的镜像层
RUN /bin/sh -c adduser -D mermaidcli # buildkit
                        
# 2025-02-10 16:32:16  738.92MB 执行命令并创建新的镜像层
RUN /bin/sh -c chmod 755 install-dependencies.sh && /bin/sh install-dependencies.sh # buildkit
                        
# 2025-02-10 16:31:36  278.00B 复制文件或目录到容器中
ADD install-dependencies.sh install-dependencies.sh # buildkit
                        
# 2025-02-10 16:31:36  97.00B 复制新文件或目录到容器中
COPY /app/puppeteer-config.json /puppeteer-config.json # buildkit
                        
# 2025-02-10 16:31:36  1.92MB 复制新文件或目录到容器中
COPY /app/*-mermaid-cli-*.tgz /install/ # buildkit
                        
# 2025-02-10 16:22:01  0.00B 设置工作目录为/app
WORKDIR /app
                        
# 2024-11-16 07:05:18  0.00B 设置默认要执行的命令
CMD ["node"]
                        
# 2024-11-16 07:05:18  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["docker-entrypoint.sh"]
                        
# 2024-11-16 07:05:18  388.00B 复制新文件或目录到容器中
COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
                        
# 2024-11-16 07:05:18  5.59MB 执行命令并创建新的镜像层
RUN /bin/sh -c apk add --no-cache --virtual .build-deps-yarn curl gnupg tar   && export GNUPGHOME="$(mktemp -d)"   && for key in     6A010C5166006599AA17F08146C2130DFD2497F5   ; do     gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$key" ||     gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key" ;   done   && curl -fsSLO --compressed "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-v$YARN_VERSION.tar.gz"   && curl -fsSLO --compressed "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-v$YARN_VERSION.tar.gz.asc"   && gpg --batch --verify yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz   && gpgconf --kill all   && rm -rf "$GNUPGHOME"   && mkdir -p /opt   && tar -xzf yarn-v$YARN_VERSION.tar.gz -C /opt/   && ln -s /opt/yarn-v$YARN_VERSION/bin/yarn /usr/local/bin/yarn   && ln -s /opt/yarn-v$YARN_VERSION/bin/yarnpkg /usr/local/bin/yarnpkg   && rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz   && apk del .build-deps-yarn   && yarn --version   && rm -rf /tmp/* # buildkit
                        
# 2024-11-16 07:05:18  0.00B 设置环境变量 YARN_VERSION
ENV YARN_VERSION=1.22.22
                        
# 2024-11-16 07:05:18  111.66MB 执行命令并创建新的镜像层
RUN /bin/sh -c addgroup -g 1000 node     && adduser -u 1000 -G node -s /bin/sh -D node     && apk add --no-cache         libstdc++     && apk add --no-cache --virtual .build-deps         curl     && ARCH= OPENSSL_ARCH='linux*' && alpineArch="$(apk --print-arch)"       && case "${alpineArch##*-}" in         x86_64) ARCH='x64' CHECKSUM="deaf95aceeb446d8861419884fc1d07c54e4a958e4d9b82d8fb9c8f1f7001535" OPENSSL_ARCH=linux-x86_64;;         x86) OPENSSL_ARCH=linux-elf;;         aarch64) OPENSSL_ARCH=linux-aarch64;;         arm*) OPENSSL_ARCH=linux-armv4;;         ppc64le) OPENSSL_ARCH=linux-ppc64le;;         s390x) OPENSSL_ARCH=linux-s390x;;         *) ;;       esac   && if [ -n "${CHECKSUM}" ]; then     set -eu;     curl -fsSLO --compressed "https://unofficial-builds.nodejs.org/download/release/v$NODE_VERSION/node-v$NODE_VERSION-linux-$ARCH-musl.tar.xz";     echo "$CHECKSUM  node-v$NODE_VERSION-linux-$ARCH-musl.tar.xz" | sha256sum -c -       && tar -xJf "node-v$NODE_VERSION-linux-$ARCH-musl.tar.xz" -C /usr/local --strip-components=1 --no-same-owner       && ln -s /usr/local/bin/node /usr/local/bin/nodejs;   else     echo "Building from source"     && apk add --no-cache --virtual .build-deps-full         binutils-gold         g++         gcc         gnupg         libgcc         linux-headers         make         python3         py-setuptools     && export GNUPGHOME="$(mktemp -d)"     && for key in       C0D6248439F1D5604AAFFB4021D900FFDB233756       DD792F5973C6DE52C432CBDAC77ABFA00DDBF2B7       CC68F5A3106FF448322E48ED27F5E38D5B0A215F       8FCCA13FEF1D0C2E91008E09770F7A9A5AE15600       890C08DB8579162FEE0DF9DB8BEAB4DFCF555EF4       C82FA3AE1CBEDC6BE46B9360C43CEC45C17AB93C       108F52B48DB57BB0CC439B2997B01419BD92F80A       A363A499291CBBC940DD62E41F10027AF002F8B0     ; do       gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$key" ||       gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key" ;     done     && curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION.tar.xz"     && curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/SHASUMS256.txt.asc"     && gpg --batch --decrypt --output SHASUMS256.txt SHASUMS256.txt.asc     && gpgconf --kill all     && rm -rf "$GNUPGHOME"     && grep " node-v$NODE_VERSION.tar.xz\$" SHASUMS256.txt | sha256sum -c -     && tar -xf "node-v$NODE_VERSION.tar.xz"     && cd "node-v$NODE_VERSION"     && ./configure     && make -j$(getconf _NPROCESSORS_ONLN) V=     && make install     && apk del .build-deps-full     && cd ..     && rm -Rf "node-v$NODE_VERSION"     && rm "node-v$NODE_VERSION.tar.xz" SHASUMS256.txt.asc SHASUMS256.txt;   fi   && rm -f "node-v$NODE_VERSION-linux-$ARCH-musl.tar.xz"   && find /usr/local/include/node/openssl/archs -mindepth 1 -maxdepth 1 ! -name "$OPENSSL_ARCH" -exec rm -rf {} \;   && apk del .build-deps   && node --version   && npm --version # buildkit
                        
# 2024-11-16 07:05:18  0.00B 设置环境变量 NODE_VERSION
ENV NODE_VERSION=18.20.5
                        
# 2024-09-06 20:04:22  0.00B 设置默认要执行的命令
CMD ["/bin/sh"]
                        
# 2024-09-06 20:04:22  7.74MB 复制文件或目录到容器中
ADD alpine-minirootfs-3.19.4-aarch64.tar.gz / # buildkit
                        
                    

镜像信息

{
    "Id": "sha256:97765f16c111e119bf9b944e12c5c407e86bfa1bd3e60ba5735f62274380874c",
    "RepoTags": [
        "minlag/mermaid-cli:latest",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/minlag/mermaid-cli:latest-linuxarm64"
    ],
    "RepoDigests": [
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/minlag/mermaid-cli@sha256:9f05a20d6d546962b5dcdab5bbb2ecfb63e8990567be612042175b32ae5ab38c"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2025-02-10T08:34:33.399739572Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "mermaidcli",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "NODE_VERSION=18.20.5",
            "YARN_VERSION=1.22.22"
        ],
        "Cmd": [
            "--help"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/data",
        "Entrypoint": [
            "/home/mermaidcli/node_modules/.bin/mmdc",
            "-p",
            "/puppeteer-config.json"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "arm64",
    "Os": "linux",
    "Size": 1864212483,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/26749d12a4b3042e00aefec024ef59401918ae0de7c0e948b6c25ed7e91a5aa1/diff:/var/lib/docker/overlay2/05ed7a8900067908b31586b8070907a7664b81c723d0334a0a0fd579290d109f/diff:/var/lib/docker/overlay2/c80261863e67ed307e89587d2ce7c72f3fc66baecfad522a210aa023519d1687/diff:/var/lib/docker/overlay2/82d6cd36ffcfa5b871f7d3d6ebcc72c4337c4c6aa11aafbd6ef6b4f48acfa501/diff:/var/lib/docker/overlay2/dae54b35a75879d87395a9be56c54d1a735874b3e7b9e764916276be96a0396e/diff:/var/lib/docker/overlay2/dc0f0e80687757100d3aff4d36c9b309feb03636bd2d87b82e10c1043cc080c8/diff:/var/lib/docker/overlay2/da2e2f9d748dfa2451684763ce51e31891cf0446c2cec16f0e9a76fc2a001b4c/diff:/var/lib/docker/overlay2/4754a054c45b907227c0265ec5e430c176b2519876d96294fb0ad9f28c750d57/diff:/var/lib/docker/overlay2/78766e72f4e51267e5f9f16e661cce54ad94024378e937ce7f9f2b605acb75f6/diff:/var/lib/docker/overlay2/e9e61d5d11739ad87a78299525ae1040efa38cc9ca0045ef59e2ba490426835c/diff:/var/lib/docker/overlay2/78606924a552729d26e2e15c3a7a8924ff2059b9686c5110ad50b2836a7953f4/diff:/var/lib/docker/overlay2/ae15ddea213ef6d1f778c74f286a5f59d14ac2a59a1aff47e4c534a6041db85c/diff:/var/lib/docker/overlay2/7e41592718d2634378e0e94eb22afac32f5ae1bdc96da232709137afd4bfcca7/diff",
            "MergedDir": "/var/lib/docker/overlay2/74e2249a75b8d777be47f102e6aa7dbf500cec3a44cba85a102e299fa500ff4a/merged",
            "UpperDir": "/var/lib/docker/overlay2/74e2249a75b8d777be47f102e6aa7dbf500cec3a44cba85a102e299fa500ff4a/diff",
            "WorkDir": "/var/lib/docker/overlay2/74e2249a75b8d777be47f102e6aa7dbf500cec3a44cba85a102e299fa500ff4a/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:668b089afca19b8dd7f8588b0ba8d9da4f16ea15ab0bd864567d4a966b32b932",
            "sha256:adb5ca7f88efdd5123ad808d3e4c6d562670f7abc0a04d8eb9cf2473ccdb48b7",
            "sha256:91c58cfae68fe3cb60d25ef596f9c131892b199698431d2eabb61e0bc6c04f6a",
            "sha256:c9e129b2e0cd21adbc087fb6f67f388dae4e43b154b90d2e9e36ad7a0f8fe290",
            "sha256:702ca5a2bd202fc3389443695708fe4ee33b37c9ec4af96a7eb6a697b9422672",
            "sha256:4a721b581db95eb82510aacfa481d0c8960cbd570cc2bff94ed6d5e08c19882a",
            "sha256:e5c308efa2b0d63c25c3d20274e958c3fe83aaf4f21c91d6edc4790ab8130c50",
            "sha256:beb5a27fb90c61d8ea7deb09595a0c243f83fd18352fd9ee25ad980d321f7dae",
            "sha256:5a097a20daf00440dad5c17e9f9c452a057b087c5df2619ec8b72cb0032c951f",
            "sha256:98edd8c5dd324a24dd02ceb2762006146f79fa9ae8bff8b040306eea7ec11897",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:47ec0ae5b8d5383674718e0f5794ef46c3f6730406e629b07cbb6bb3ef9be35d",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:5eee2ebb7bb08333e963a613580dfb9c4e861cfc65cfe59cc36d28b04a88efd1"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-03-17T16:30:43.85260001+08:00"
    }
}

更多版本

docker.io/minlag/mermaid-cli:latest

linux/amd64 docker.io1.89GB2025-03-17 16:29
41

docker.io/minlag/mermaid-cli:latest

linux/arm64 docker.io1.86GB2025-03-17 16:32
32