fix: 'useEffect' is declared but its value is never read#413
Open
gaojs wants to merge 2 commits intojd-opensource:data_agentfrom
Open
fix: 'useEffect' is declared but its value is never read#413gaojs wants to merge 2 commits intojd-opensource:data_agentfrom
gaojs wants to merge 2 commits intojd-opensource:data_agentfrom
Conversation
added 2 commits
January 27, 2026 10:16
(cherry picked from commit c30f6aad8212475abbe2464943db4eb787cae1a8)
- 将 as 关键字改为大写的 AS (例如 FROM ... AS builder ),消除了构建时的 WARN: FromAsCasing 警告。 锁定基础镜像版本 : - 将 FROM .../python:3.11-slim 修改为 FROM .../python:3.11-slim-bookworm 。 - 这确保了系统环境与 sources.list 中的 bookworm 源完美匹配。 具体来说,Docker 镜像 python:3.11-slim 最近可能更新到了基于 Debian Trixie/Sid(较新版本), 包含较新的基础库(如 glibc 2.41),而您的 Dockerfile 中手动指定了使用 bookworm (Debian 12,较旧稳定版)的阿里云镜像源。 这导致安装 build-essential 等工具时,apt 试图拉取旧版依赖,与系统中已有的新版库冲突。 (cherry picked from commit 48db0d5b98fb80e35821c176531407378c2da550)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
(cherry picked from commit c30f6aad8212475abbe2464943db4eb787cae1a8)