chore(gateway): 移除Dockerfile中的离线模式参数

- 移除了mvn命令中的-o参数,允许在线下载依赖包
- 优化了编译过程以支持网络连接场景下的依赖管理
This commit is contained in:
2026-01-30 13:53:01 +08:00
parent 2d476f7c7a
commit 283f4af094
8 changed files with 9 additions and 9 deletions

View File

@@ -13,7 +13,7 @@ SAVE ?= false # Default: only pull images, don't save to dist/
ifdef dev
REGISTRY :=
else
REGISTRY ?= ghcr.io/modelengine-group/
REGISTRY ?= ghcr.nju.edu.cn/modelengine-group/
endif
ifdef COMSPEC

View File

@@ -5,7 +5,7 @@
global:
namespace: datamate
image:
repository: "ghcr.io/modelengine-group/"
repository: "ghcr.nju.edu.cn/modelengine-group/"
pullPolicy: "IfNotPresent"
backend:
name: "datamate-backend"

View File

@@ -4,7 +4,7 @@
global:
image:
repository: "ghcr.io/modelengine-group/"
repository: "ghcr.nju.edu.cn/modelengine-group/"
pullPolicy: "IfNotPresent"
backend:
name: "deer-flow-backend"

View File

@@ -3,7 +3,7 @@
# Declare variables to be passed into your templates.
image:
registry: ghcr.io
registry: ghcr.nju.edu.cn
repository: prometheus-community/windows-exporter
# Overrides the image tag whose default is {{ printf "v%s" .Chart.AppVersion }}
tag: ""

View File

@@ -10,7 +10,7 @@ extraArgs: []
replicaCount: 1
image:
repository: ghcr.io/huggingface/text-embeddings-inference
repository: ghcr.nju.edu.cn/huggingface/text-embeddings-inference
tag: cpu-1.6
pullPolicy: IfNotPresent
imagePullSecrets: []

View File

@@ -1375,7 +1375,7 @@ tei:
enabled: false
name: text-embeddings-inference
image:
repository: ghcr.io/huggingface/text-embeddings-inference
repository: ghcr.nju.edu.cn/huggingface/text-embeddings-inference
tag: cpu-1.6
pullPolicy: IfNotPresent
service:

View File

@@ -1,7 +1,7 @@
FROM ghcr.io/astral-sh/uv:python3.12-bookworm
FROM ghcr.nju.edu.cn/astral-sh/uv:python3.12-bookworm
# Install uv.
COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv
COPY --from=ghcr.nju.edu.cn/astral-sh/uv:latest /uv /bin/uv
# 配置 apt 阿里云镜像源并安装系统依赖
RUN if [ -f /etc/apt/sources.list.d/debian.sources ]; then \

View File

@@ -1,4 +1,4 @@
FROM ghcr.io/astral-sh/uv:python3.11-bookworm
FROM ghcr.nju.edu.cn/astral-sh/uv:python3.11-bookworm
# 配置 apt 阿里云镜像源
RUN --mount=type=cache,target=/var/cache/apt \