docker.io/yangclivia/lobe-chat:latest linux/amd64

docker.io/yangclivia/lobe-chat:latest - 国内下载镜像源 浏览次数:65

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

<h2>lobe-chat</h2> 这是一个用于聊天应用的镜像,提供了基本的聊天功能。
源镜像 docker.io/yangclivia/lobe-chat:latest
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/yangclivia/lobe-chat:latest
镜像ID sha256:a330c09f93b490387a66e88ae3ca6d04b565a09af97cdb297782c3161867d3cf
镜像TAG latest
大小 285.61MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD /bin/sh -c if [ -n "$PROXY_URL" ]; then IP_REGEX="^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$"; PROXYCHAINS="proxychains -q"; host_with_port="${PROXY_URL#*//}"; host="${host_with_port%%:*}"; port="${PROXY_URL##*:}"; protocol="${PROXY_URL%%://*}"; if ! [[ "$host" =~ "$IP_REGEX" ]]; then nslookup=$(nslookup -q="A" "$host" | tail -n +3 | grep 'Address:'); if [ -n "$nslookup" ]; then host=$(echo "$nslookup" | tail -n 1 | awk '{print $2}'); fi; fi; printf "%s\n" 'localnet 127.0.0.0/255.0.0.0' 'localnet ::1/128' 'proxy_dns' 'remote_dns_subnet 224' 'strict_chain' 'tcp_connect_time_out 8000' 'tcp_read_time_out 15000' '[ProxyList]' "$protocol $host $port" > "/etc/proxychains/proxychains.conf"; fi; ${PROXYCHAINS} node "/app/server.js";
启动入口 docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 65 次
贡献者
镜像创建 2024-10-09T16:33:50.374899587Z
同步时间 2024-10-10 15:18
更新时间 2024-11-22 16:13
开放端口
3210/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin NODE_VERSION=20.18.0 YARN_VERSION=1.22.22 NODE_ENV=production HOSTNAME=0.0.0.0 PORT=3210 ACCESS_CODE= API_KEY_SELECT_MODE= DEFAULT_AGENT_CONFIG= SYSTEM_AGENT= FEATURE_FLAGS= PROXY_URL= AI360_API_KEY= ANTHROPIC_API_KEY= ANTHROPIC_PROXY_URL= AWS_ACCESS_KEY_ID= AWS_SECRET_ACCESS_KEY= AWS_REGION= AZURE_API_KEY= AZURE_API_VERSION= AZURE_ENDPOINT= AZURE_MODEL_LIST= BAICHUAN_API_KEY= DEEPSEEK_API_KEY= GOOGLE_API_KEY= GOOGLE_PROXY_URL= GROQ_API_KEY= GROQ_PROXY_URL= MINIMAX_API_KEY= MISTRAL_API_KEY= MOONSHOT_API_KEY= MOONSHOT_PROXY_URL= NOVITA_API_KEY= OLLAMA_MODEL_LIST= OLLAMA_PROXY_URL= OPENAI_API_KEY= OPENAI_MODEL_LIST= OPENAI_PROXY_URL= OPENROUTER_API_KEY= OPENROUTER_MODEL_LIST= PERPLEXITY_API_KEY= PERPLEXITY_PROXY_URL= QWEN_API_KEY= STEPFUN_API_KEY= TAICHU_API_KEY= TOGETHERAI_API_KEY= TOGETHERAI_MODEL_LIST= ZEROONE_API_KEY= ZHIPU_API_KEY=

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/yangclivia/lobe-chat:latest
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/yangclivia/lobe-chat:latest  docker.io/yangclivia/lobe-chat:latest

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/yangclivia/lobe-chat:latest
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/yangclivia/lobe-chat:latest  docker.io/yangclivia/lobe-chat:latest

Shell快速替换命令

sed -i 's#yangclivia/lobe-chat:latest#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/yangclivia/lobe-chat:latest#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/yangclivia/lobe-chat:latest && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/yangclivia/lobe-chat:latest  docker.io/yangclivia/lobe-chat:latest'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/yangclivia/lobe-chat:latest && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/yangclivia/lobe-chat:latest  docker.io/yangclivia/lobe-chat:latest'

镜像历史

大小 创建时间 层信息
0.00B 2024-10-10 00:33:50 CMD ["/bin/sh" "-c" "if [ -n \"$PROXY_URL\" ]; then IP_REGEX=\"^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$\"; PROXYCHAINS=\"proxychains -q\"; host_with_port=\"${PROXY_URL#*//}\"; host=\"${host_with_port%%:*}\"; port=\"${PROXY_URL##*:}\"; protocol=\"${PROXY_URL%%://*}\"; if ! [[ \"$host\" =~ \"$IP_REGEX\" ]]; then nslookup=$(nslookup -q=\"A\" \"$host\" | tail -n +3 | grep 'Address:'); if [ -n \"$nslookup\" ]; then host=$(echo \"$nslookup\" | tail -n 1 | awk '{print $2}'); fi; fi; printf \"%s\\n\" 'localnet 127.0.0.0/255.0.0.0' 'localnet ::1/128' 'proxy_dns' 'remote_dns_subnet 224' 'strict_chain' 'tcp_connect_time_out 8000' 'tcp_read_time_out 15000' '[ProxyList]' \"$protocol $host $port\" > \"/etc/proxychains/proxychains.conf\"; fi; ${PROXYCHAINS} node \"/app/server.js\";"]
0.00B 2024-10-10 00:33:50 EXPOSE map[3210/tcp:{}]
0.00B 2024-10-10 00:33:50 USER nextjs
0.00B 2024-10-10 00:33:50 ENV AI360_API_KEY= ANTHROPIC_API_KEY= ANTHROPIC_PROXY_URL= AWS_ACCESS_KEY_ID= AWS_SECRET_ACCESS_KEY= AWS_REGION= AZURE_API_KEY= AZURE_API_VERSION= AZURE_ENDPOINT= AZURE_MODEL_LIST= BAICHUAN_API_KEY= DEEPSEEK_API_KEY= GOOGLE_API_KEY= GOOGLE_PROXY_URL= GROQ_API_KEY= GROQ_PROXY_URL= MINIMAX_API_KEY= MISTRAL_API_KEY= MOONSHOT_API_KEY= MOONSHOT_PROXY_URL= NOVITA_API_KEY= OLLAMA_MODEL_LIST= OLLAMA_PROXY_URL= OPENAI_API_KEY= OPENAI_MODEL_LIST= OPENAI_PROXY_URL= OPENROUTER_API_KEY= OPENROUTER_MODEL_LIST= PERPLEXITY_API_KEY= PERPLEXITY_PROXY_URL= QWEN_API_KEY= STEPFUN_API_KEY= TAICHU_API_KEY= TOGETHERAI_API_KEY= TOGETHERAI_MODEL_LIST= ZEROONE_API_KEY= ZHIPU_API_KEY=
0.00B 2024-10-10 00:33:50 ENV ACCESS_CODE= API_KEY_SELECT_MODE= DEFAULT_AGENT_CONFIG= SYSTEM_AGENT= FEATURE_FLAGS= PROXY_URL=
0.00B 2024-10-10 00:33:50 ENV HOSTNAME=0.0.0.0 PORT=3210
0.00B 2024-10-10 00:33:50 ENV NODE_ENV=production
145.23MB 2024-10-10 00:33:50 COPY --chown=nextjs:nodejs /app /app # buildkit
7.54MB 2024-10-10 00:25:21 RUN |1 USE_CN_MIRROR= /bin/sh -c if [ "${USE_CN_MIRROR:-false}" = "true" ]; then sed -i "s/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g" "/etc/apk/repositories"; fi && apk update && apk add --no-cache bind-tools proxychains-ng && apk upgrade --no-cache && addgroup --system --gid 1001 nodejs && adduser --system --uid 1001 nextjs && chown -R nextjs:nodejs "/etc/proxychains" && rm -rf /tmp/* /var/cache/apk/* # buildkit
0.00B 2024-10-10 00:25:21 ARG USE_CN_MIRROR
0.00B 2024-10-04 23:27:57 CMD ["node"]
0.00B 2024-10-04 23:27:57 ENTRYPOINT ["docker-entrypoint.sh"]
388.00B 2024-10-04 23:27:57 COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
5.59MB 2024-10-04 23:27:57 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-10-04 23:27:57 ENV YARN_VERSION=1.22.22
119.45MB 2024-10-04 23:27:57 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="757bba0adff8eaadfa7f9be2c87a35d5010ac3f71b5527e57385218c806a4fa4" 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 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
0.00B 2024-10-04 23:27:57 ENV NODE_VERSION=20.18.0
0.00B 2024-09-07 06:20:07 /bin/sh -c #(nop) CMD ["/bin/sh"]
7.80MB 2024-09-07 06:20:07 /bin/sh -c #(nop) ADD file:5758b97d8301c84a204a6e516241275d785a7cade40b2fb99f01fe122482e283 in /

镜像信息

{
    "Id": "sha256:a330c09f93b490387a66e88ae3ca6d04b565a09af97cdb297782c3161867d3cf",
    "RepoTags": [
        "yangclivia/lobe-chat:latest",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/yangclivia/lobe-chat:latest"
    ],
    "RepoDigests": [
        "yangclivia/lobe-chat@sha256:3018ad59c8f237a45933253ca0fa8a66a3c34347854a1f41192e5ad0f86e66a0",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/yangclivia/lobe-chat@sha256:91f776d261f467dea0067d042834f24b0b83362c3eeeeed1de0280261094274f"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-10-09T16:33:50.374899587Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "nextjs",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "3210/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "NODE_VERSION=20.18.0",
            "YARN_VERSION=1.22.22",
            "NODE_ENV=production",
            "HOSTNAME=0.0.0.0",
            "PORT=3210",
            "ACCESS_CODE=",
            "API_KEY_SELECT_MODE=",
            "DEFAULT_AGENT_CONFIG=",
            "SYSTEM_AGENT=",
            "FEATURE_FLAGS=",
            "PROXY_URL=",
            "AI360_API_KEY=",
            "ANTHROPIC_API_KEY=",
            "ANTHROPIC_PROXY_URL=",
            "AWS_ACCESS_KEY_ID=",
            "AWS_SECRET_ACCESS_KEY=",
            "AWS_REGION=",
            "AZURE_API_KEY=",
            "AZURE_API_VERSION=",
            "AZURE_ENDPOINT=",
            "AZURE_MODEL_LIST=",
            "BAICHUAN_API_KEY=",
            "DEEPSEEK_API_KEY=",
            "GOOGLE_API_KEY=",
            "GOOGLE_PROXY_URL=",
            "GROQ_API_KEY=",
            "GROQ_PROXY_URL=",
            "MINIMAX_API_KEY=",
            "MISTRAL_API_KEY=",
            "MOONSHOT_API_KEY=",
            "MOONSHOT_PROXY_URL=",
            "NOVITA_API_KEY=",
            "OLLAMA_MODEL_LIST=",
            "OLLAMA_PROXY_URL=",
            "OPENAI_API_KEY=",
            "OPENAI_MODEL_LIST=",
            "OPENAI_PROXY_URL=",
            "OPENROUTER_API_KEY=",
            "OPENROUTER_MODEL_LIST=",
            "PERPLEXITY_API_KEY=",
            "PERPLEXITY_PROXY_URL=",
            "QWEN_API_KEY=",
            "STEPFUN_API_KEY=",
            "TAICHU_API_KEY=",
            "TOGETHERAI_API_KEY=",
            "TOGETHERAI_MODEL_LIST=",
            "ZEROONE_API_KEY=",
            "ZHIPU_API_KEY="
        ],
        "Cmd": [
            "/bin/sh",
            "-c",
            "if [ -n \"$PROXY_URL\" ]; then         IP_REGEX=\"^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$\";         PROXYCHAINS=\"proxychains -q\";         host_with_port=\"${PROXY_URL#*//}\";         host=\"${host_with_port%%:*}\";         port=\"${PROXY_URL##*:}\";         protocol=\"${PROXY_URL%%://*}\";         if ! [[ \"$host\" =~ \"$IP_REGEX\" ]]; then             nslookup=$(nslookup -q=\"A\" \"$host\" | tail -n +3 | grep 'Address:');             if [ -n \"$nslookup\" ]; then                 host=$(echo \"$nslookup\" | tail -n 1 | awk '{print $2}');             fi;         fi;         printf \"%s\\n\"             'localnet 127.0.0.0/255.0.0.0'             'localnet ::1/128'             'proxy_dns'             'remote_dns_subnet 224'             'strict_chain'             'tcp_connect_time_out 8000'             'tcp_read_time_out 15000'             '[ProxyList]'             \"$protocol $host $port\"         \u003e \"/etc/proxychains/proxychains.conf\";     fi;     ${PROXYCHAINS} node \"/app/server.js\";"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 285606467,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/d9577b975560b5b242577e37e4a1b5515d8f7bb9a80d490a5dbb3232fd07db49/diff:/var/lib/docker/overlay2/dced56245036ed1a425970826d0c5c05edab09c3916b302592eaa3735d7eebc2/diff:/var/lib/docker/overlay2/9eff9b9dcaced91ee730353ccd826e23e462ecc37fc66b710305b1502bcce792/diff:/var/lib/docker/overlay2/34ace3661b373f51243fac1b4ed5b69aacfbb461b064ef6994c6b420f5a1af59/diff:/var/lib/docker/overlay2/56dbc2212cbc9b991b1a93a72a8c08a3a8460c06576fe4f3267009446334aa65/diff",
            "MergedDir": "/var/lib/docker/overlay2/98acbbbad9b1279dcb943d269b5a743c558ace194af556c8fcb605ae69a24776/merged",
            "UpperDir": "/var/lib/docker/overlay2/98acbbbad9b1279dcb943d269b5a743c558ace194af556c8fcb605ae69a24776/diff",
            "WorkDir": "/var/lib/docker/overlay2/98acbbbad9b1279dcb943d269b5a743c558ace194af556c8fcb605ae69a24776/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:63ca1fbb43ae5034640e5e6cb3e083e05c290072c5366fcaa9d62435a4cced85",
            "sha256:9e884bd721881ef518283e1aea76c3575e68be9b4a577f1dd3476d51b8237e66",
            "sha256:70736de621abc27e1cc19a59bb958bc94eb567dcaeeb361e8c5f8ce7b2639023",
            "sha256:04f5f57834bac45ff193dee87cbdde5c3eb8b5cd9f3e183e61b78092882ec62f",
            "sha256:86925ab1ded295de48a55c6540e0579c67eef9f5c35975daed3d4a66f6116d7c",
            "sha256:5856ff9b4c02004c9f4cc959efa4cc3f1efb23b2b190dc65e9b2fa4d411577ed"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-10-10T15:18:30.690748572+08:00"
    }
}

更多版本

docker.io/yangclivia/lobe-chat:latest

linux/amd64 docker.io285.61MB2024-10-10 15:18
64