ghcr.io/ghcr.io/labring/fastgpt:v4.8.12 linux/amd64

ghcr.io/ghcr.io/labring/fastgpt:v4.8.12 - 国内下载镜像源 浏览次数:192
FastGPT是一款基于Transformer架构的文本生成模型,用于快速生成高质量的文本内容
源镜像 ghcr.io/ghcr.io/labring/fastgpt:v4.8.12
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/ghcr.io/labring/fastgpt:v4.8.12
镜像ID sha256:37613bd413aa9c82bb333688f3e2164c06c43b35b81e6e6375a91ee7f8e8c3b8
镜像TAG v4.8.12
大小 372.73MB
镜像源 ghcr.io
CMD
启动入口 sh -c node --max-old-space-size=4096 ${serverPath}
工作目录 /app
OS/平台 linux/amd64
浏览量 192 次
贡献者
镜像创建 2024-10-30T13:55:20.687482878Z
同步时间 2024-10-31 22:59
更新时间 2024-12-01 23:19
开放端口
3000/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin NODE_VERSION=20.14.0 YARN_VERSION=1.22.22 NODE_ENV=production NEXT_TELEMETRY_DISABLED=1 PORT=3000 serverPath=./projects/app/server.js
镜像标签
fastgpt image: org.opencontainers.image.description https://github.com/labring/FastGPT: org.opencontainers.image.source
镜像安全扫描 查看Trivy扫描报告

系统OS: alpine 3.20.1 扫描引擎: Trivy 扫描时间: 2024-11-01 14:41

低危漏洞:2 中危漏洞:6 高危漏洞:3 严重漏洞:0

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/ghcr.io/labring/fastgpt:v4.8.12
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/ghcr.io/labring/fastgpt:v4.8.12  ghcr.io/ghcr.io/labring/fastgpt:v4.8.12

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/ghcr.io/labring/fastgpt:v4.8.12
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/ghcr.io/labring/fastgpt:v4.8.12  ghcr.io/ghcr.io/labring/fastgpt:v4.8.12

Shell快速替换命令

sed -i 's#ghcr.io/ghcr.io/labring/fastgpt:v4.8.12#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/ghcr.io/labring/fastgpt:v4.8.12#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/ghcr.io/labring/fastgpt:v4.8.12 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/ghcr.io/labring/fastgpt:v4.8.12  ghcr.io/ghcr.io/labring/fastgpt:v4.8.12'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/ghcr.io/labring/fastgpt:v4.8.12 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/ghcr.io/labring/fastgpt:v4.8.12  ghcr.io/ghcr.io/labring/fastgpt:v4.8.12'

镜像历史

大小 创建时间 层信息
0.00B 2024-10-30 21:55:20 ENTRYPOINT ["sh" "-c" "node --max-old-space-size=4096 ${serverPath}"]
0.00B 2024-10-30 21:55:20 ENV serverPath=./projects/app/server.js
0.00B 2024-10-30 21:55:20 USER nextjs
0.00B 2024-10-30 21:55:20 EXPOSE map[3000/tcp:{}]
0.00B 2024-10-30 21:55:20 ENV PORT=3000
0.00B 2024-10-30 21:55:20 ENV NEXT_TELEMETRY_DISABLED=1
0.00B 2024-10-30 21:55:20 ENV NODE_ENV=production
63.58KB 2024-10-30 21:55:20 RUN |1 proxy= /bin/sh -c chown -R nextjs:nodejs /app/data # buildkit
63.58KB 2024-10-30 21:55:20 COPY ./projects/app/data /app/data # buildkit
2.71KB 2024-10-30 21:55:20 COPY /app/projects/app/package.json ./package.json # buildkit
830.03KB 2024-10-30 21:55:20 COPY /app/node_modules/@zilliz/milvus2-sdk-node ./node_modules/@zilliz/milvus2-sdk-node # buildkit
0.00B 2024-10-30 21:55:20 RUN |1 proxy= /bin/sh -c rm -rf ./node_modules/tiktoken/encoders # buildkit
21.91MB 2024-10-30 21:55:20 COPY /app/node_modules/tiktoken ./node_modules/tiktoken # buildkit
2.55MB 2024-10-30 21:55:20 COPY --chown=nextjs:nodejs /app/projects/app/.next/server/worker /app/projects/app/.next/server/worker # buildkit
13.30MB 2024-10-30 21:55:20 COPY --chown=nextjs:nodejs /app/projects/app/.next/server/chunks /app/projects/app/.next/server/chunks # buildkit
20.04MB 2024-10-30 21:55:20 COPY --chown=nextjs:nodejs /app/projects/app/.next/static /app/projects/app/.next/static # buildkit
155.06MB 2024-10-30 21:55:19 COPY --chown=nextjs:nodejs /app/projects/app/.next/standalone /app/ # buildkit
3.41KB 2024-10-30 21:55:17 COPY /app/projects/app/next.config.js /app/projects/app/next.config.js # buildkit
20.63MB 2024-10-30 21:55:16 COPY /app/projects/app/public /app/projects/app/public # buildkit
5.37MB 2024-10-30 21:46:58 RUN |1 proxy= /bin/sh -c apk add --no-cache curl ca-certificates && update-ca-certificates # buildkit
0.00B 2024-10-30 21:46:57 RUN |1 proxy= /bin/sh -c [ -z "$proxy" ] || sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories # buildkit
3.25KB 2024-10-30 21:46:57 RUN |1 proxy= /bin/sh -c adduser --system --uid 1001 nextjs # buildkit
1.07KB 2024-10-30 21:46:57 RUN |1 proxy= /bin/sh -c addgroup --system --gid 1001 nodejs # buildkit
0.00B 2024-10-30 21:46:57 ARG proxy
0.00B 2024-10-30 21:46:57 WORKDIR /app
0.00B 2024-06-04 21:58:27 CMD ["node"]
0.00B 2024-06-04 21:58:27 ENTRYPOINT ["docker-entrypoint.sh"]
388.00B 2024-06-04 21:58:27 COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
5.59MB 2024-06-04 21:58:27 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
0.00B 2024-06-04 21:58:27 ENV YARN_VERSION=1.22.22
119.52MB 2024-06-04 21:58:27 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="f0afca5a7f4857d06d960490b2af36f72b5dd08732776454e33514796d07bff1" 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 4ED778F539E3634C779C87C6D7062848A1AB005C 141F07595B7B3FFE74309A937405533BE57C7D57 74F12602B6F1C4E913FAA37AD3A89613643B6201 DD792F5973C6DE52C432CBDAC77ABFA00DDBF2B7 61FC681DFB92A079F1685E77973F295594EC4689 8FCCA13FEF1D0C2E91008E09770F7A9A5AE15600 C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8 890C08DB8579162FEE0DF9DB8BEAB4DFCF555EF4 C82FA3AE1CBEDC6BE46B9360C43CEC45C17AB93C 108F52B48DB57BB0CC439B2997B01419BD92F80A A363A499291CBBC940DD62E41F10027AF002F8B0 CC68F5A3106FF448322E48ED27F5E38D5B0A215F ; 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
0.00B 2024-06-04 21:58:27 ENV NODE_VERSION=20.14.0
0.00B 2024-06-04 21:58:27 /bin/sh -c #(nop) CMD ["/bin/sh"]
7.80MB 2024-06-04 21:58:27 /bin/sh -c #(nop) ADD file:33ebe56b967747a97dcec01bc2559962bee8823686c9739d26be060381bbb3ca in /

镜像信息

{
    "Id": "sha256:37613bd413aa9c82bb333688f3e2164c06c43b35b81e6e6375a91ee7f8e8c3b8",
    "RepoTags": [
        "ghcr.io/ghcr.io/labring/fastgpt:v4.8.12",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/ghcr.io/labring/fastgpt:v4.8.12"
    ],
    "RepoDigests": [
        "ghcr.io/ghcr.io/labring/fastgpt@sha256:43cca66baafbf0510ce2050c3ed63f4222d651c0519d3e3c12b9cb7ccd6ac0b7",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/ghcr.io/labring/fastgpt@sha256:26fcb2d99a0aaecbda3633919518cd8a1554935613ca4fb20317c149b726a00c"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-10-30T13:55:20.687482878Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "nextjs",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "3000/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "NODE_VERSION=20.14.0",
            "YARN_VERSION=1.22.22",
            "NODE_ENV=production",
            "NEXT_TELEMETRY_DISABLED=1",
            "PORT=3000",
            "serverPath=./projects/app/server.js"
        ],
        "Cmd": null,
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/app",
        "Entrypoint": [
            "sh",
            "-c",
            "node --max-old-space-size=4096 ${serverPath}"
        ],
        "OnBuild": null,
        "Labels": {
            "org.opencontainers.image.description": "fastgpt image",
            "org.opencontainers.image.source": "https://github.com/labring/FastGPT"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 372730526,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/a4b13608f7fec98c0e36b1bcbc215f3c5652e0b65904a6ecae7fabf879832015/diff:/var/lib/docker/overlay2/a7f2a02101ec0a3f7b436b2ac635770d2dc33bd4295516bb383ede1662819fde/diff:/var/lib/docker/overlay2/a6e1fcf10004627bf86d13eb12601378d462c7a9e814035484cae5969baefb1b/diff:/var/lib/docker/overlay2/1e2efdb12002c3fabfd1fcc7702af2a8343986f3ac0a7d0fd4e47cc422a01b2e/diff:/var/lib/docker/overlay2/ab36103fb15427ae30b4f14a01444bbdab077d43912d3e25f7d213c7eca12dc0/diff:/var/lib/docker/overlay2/39026f1e13ccef519177c356cc2824b6b5630b83d77136a553021eb70547fe44/diff:/var/lib/docker/overlay2/9300606a6d8c2d168c1bb0e4dfe29a72178352b9cd6b866fcfcc23859217e35c/diff:/var/lib/docker/overlay2/3aea5d1cbcab0ac3136c9050cf719e42b1f79c379179c785648a9b09ab729ad6/diff:/var/lib/docker/overlay2/1f2721d55ac45853958d3d35c71f373d47bac942e8e1d2c31b4d4afaec114c62/diff:/var/lib/docker/overlay2/bf7eee9d36abc256c70339dc7556aea7c7b126bca49041b8aab2c01daf03b3f7/diff:/var/lib/docker/overlay2/17424f3a6c5cdeb7d6456f5a3d0a5414a42db45498b2ef0b7269bdde6d6b0f9f/diff:/var/lib/docker/overlay2/393bba0d35161a790c2a2fbbedd116d0438de74cbe2b14891f687ca7183e5e3f/diff:/var/lib/docker/overlay2/195591c67ddc6dd9b6e1752d99aae53c01ccc4ca4554ace9894ea42baba14135/diff:/var/lib/docker/overlay2/bf62f80ea3a8a5f554385bb43d869ea85c2972f0df8d113a4cafa49cffc1745f/diff:/var/lib/docker/overlay2/9521be1a1cd29a42907d65a052b2be9e4accb9886f073f176b8f4c8521922ccd/diff:/var/lib/docker/overlay2/c1fa6390e34281ebe6e7e6320b9fa8bb8ab8bc7770a906331479eebf34a1f244/diff:/var/lib/docker/overlay2/edb654da6d2f78bddc2ecc9603cea0c725d324002d943513c363113e30486124/diff:/var/lib/docker/overlay2/49ed3827d185d2f0fd3d56afba3ce688c95ffa99e71023daa1805311fbeb324d/diff:/var/lib/docker/overlay2/365008fb67a576065099d76269b65f42b703936a1fac012b9ba1145558fc03ad/diff:/var/lib/docker/overlay2/fe42b69fac812ecb965854f3c34900ace6abf263bc7d7c9cdbe1b75b0476b5b0/diff",
            "MergedDir": "/var/lib/docker/overlay2/fd7ee18376bb9e4095e5aab2a49054f1eb4b7e596e7e0565f050db42f009ff7a/merged",
            "UpperDir": "/var/lib/docker/overlay2/fd7ee18376bb9e4095e5aab2a49054f1eb4b7e596e7e0565f050db42f009ff7a/diff",
            "WorkDir": "/var/lib/docker/overlay2/fd7ee18376bb9e4095e5aab2a49054f1eb4b7e596e7e0565f050db42f009ff7a/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:94e5f06ff8e3d4441dc3cd8b090ff38dc911bfa8ebdb0dc28395bc98f82f983f",
            "sha256:ba9916be9d18f219a90a7eedd7d6a179dd9aecd3b38dc87d5ea85fbac2e18a2a",
            "sha256:ac51c88d51fe4bd8e0077cf0f76ede60b9e0523c41d1ab1e3530fe55920b4ad6",
            "sha256:ea3a39385d46526f0bfa9c92d66816869e0146d82f7b239f2b8423feb06d5c50",
            "sha256:5455e44b0280079fc0a11a5a0567a4e04aa20460160ce59786294fcc12e5897f",
            "sha256:70f344c36e34f6f650e005b58db88b76ee99f89bc430d5c96f36f497795d2539",
            "sha256:aa5ff40d77870f4e0d48152cb1ade290fdc6d34bffc994a2739bdf5b16dd132c",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:328a4631d19041cd0c234f6be44964ccac89fc65631ce82337798d8af763fddf",
            "sha256:a65d1a2cfe6e69acb4a8cacb011e54258514f9f01159b833d14cc339c4329d6a",
            "sha256:85ea8af1bfb597d6d72389c26712b0de3f512e149cca466b8066c4f10314d881",
            "sha256:411478befb01b980d1886d7a941c1a9c599847f74b7acd10f26f376c2cd4f305",
            "sha256:2c108364aa7d0bc575e89b6753b0513097429ea03c1bff48880273888ec6d05d",
            "sha256:f5f9f7499eb35df0b7bb632fccf054df95b57f9cee51748fcd145ba39bc7d426",
            "sha256:ec27407796f7869627196b03557873df8657824b2beaff21e67d77a6948a176a",
            "sha256:f4849e6497cf11c0aef0a6d6c533278d0363ceb08084d61ffcb341fe4f950bd4",
            "sha256:1bdd6819068b6a938cf2b586d83a740964aeddbd740b88253cac2d397d33dfb9",
            "sha256:2fa02d5f7b02a435f5af253e5b2a92851fdd155416eac4002a74e65b318b755a",
            "sha256:f7a9646be077e8afcca817bd6272819c449493b2163100aee693120bf38f45c4",
            "sha256:c1b026fc28586b39641c94799999f065e9e49a2df5ffa45de28c10dae7b2f116",
            "sha256:a1a29bc2b66b2a0a67d7e7dd88795c63181e3b10bfce6ac7a1583a16ef0712bf"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-10-31T22:59:47.621504405+08:00"
    }
}

更多版本

ghcr.io/ghcr.io/labring/fastgpt:v4.8.9

linux/amd64 ghcr.io355.75MB2024-08-22 08:59
130

ghcr.io/ghcr.io/labring/fastgpt:v4.8.12

linux/amd64 ghcr.io372.73MB2024-10-31 22:59
191