feat: 添加 git 依赖到 Dockerfile,优化构建环境
This commit is contained in:
parent
252761c9b9
commit
dc67a1483f
@ -7,10 +7,10 @@
|
|||||||
|
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
from pathlib import Path
|
|
||||||
import uuid
|
import uuid
|
||||||
from collections.abc import Callable, Iterable, Mapping
|
from collections.abc import Callable, Iterable, Mapping
|
||||||
from functools import partial
|
from functools import partial
|
||||||
|
from pathlib import Path
|
||||||
from typing import Any, Literal, cast, override
|
from typing import Any, Literal, cast, override
|
||||||
|
|
||||||
from langchain.agents import AgentState
|
from langchain.agents import AgentState
|
||||||
|
|||||||
@ -8,7 +8,6 @@ import tempfile
|
|||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
from sqlalchemy.ext.asyncio import AsyncSession
|
from sqlalchemy.ext.asyncio import AsyncSession
|
||||||
|
|
||||||
from yuxi.services.skill_service import import_skill_dir, is_valid_skill_slug
|
from yuxi.services.skill_service import import_skill_dir, is_valid_skill_slug
|
||||||
|
|
||||||
ANSI_ESCAPE_RE = re.compile(r"\x1B\[[0-?]*[ -/]*[@-~]")
|
ANSI_ESCAPE_RE = re.compile(r"\x1B\[[0-?]*[ -/]*[@-~]")
|
||||||
|
|||||||
@ -29,6 +29,7 @@ RUN set -ex \
|
|||||||
&& apt-get install -y --no-install-recommends --fix-missing \
|
&& apt-get install -y --no-install-recommends --fix-missing \
|
||||||
curl \
|
curl \
|
||||||
ffmpeg \
|
ffmpeg \
|
||||||
|
git \
|
||||||
libpq5 \
|
libpq5 \
|
||||||
libsm6 \
|
libsm6 \
|
||||||
libxext6 \
|
libxext6 \
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user