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 ifdef dev
REGISTRY := REGISTRY :=
else else
REGISTRY ?= ghcr.io/modelengine-group/ REGISTRY ?= ghcr.nju.edu.cn/modelengine-group/
endif endif
ifdef COMSPEC ifdef COMSPEC

View File

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

View File

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

View File

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

View File

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

View File

@@ -1375,7 +1375,7 @@ tei:
enabled: false enabled: false
name: text-embeddings-inference name: text-embeddings-inference
image: image:
repository: ghcr.io/huggingface/text-embeddings-inference repository: ghcr.nju.edu.cn/huggingface/text-embeddings-inference
tag: cpu-1.6 tag: cpu-1.6
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
service: 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. # 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 阿里云镜像源并安装系统依赖 # 配置 apt 阿里云镜像源并安装系统依赖
RUN if [ -f /etc/apt/sources.list.d/debian.sources ]; then \ 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 阿里云镜像源 # 配置 apt 阿里云镜像源
RUN --mount=type=cache,target=/var/cache/apt \ RUN --mount=type=cache,target=/var/cache/apt \