Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

更新了cn的基础镜像,用于解决maa的GLIBC_2.34缺失问题 #4637

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Lyiyeyulongwu
Copy link

提交的内容

更新了基础镜像版本

提出的问题

alas linux版本maa子模块的adb路径设置存在问题

FROM python:3.7-slim-bullseye
FROM python:3.7-slim-bookworm
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不要动基础镜像了,所有环境就固定在当前时间节点或者当年的时间节点

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lmeszinc 我很理解你需要固定环境的想法,但是,这是docker当初的设计的问题,注意,我所更改的文件是Dockerfile.cn 而不是Dockerfile 这是因为在Dockerfile中他所使用的镜像是python:3.7-slim,这是一个动态镜像,他会实时更新最新版本,在当时建立的时候他使用的文件是python:3.7-slim-bullseye,而在现在这个镜像标签下面使用的是python:3.7-slim-bookworm,至于为什么Dockerfile.cn需要指示到具体的,而不是使用动态镜像标签,这是因为换源的地址需要指示到具体的版本,所以我认为我的提交是必须且应该的,在Dockerfile文件里面指示的镜像,已经是最新的bookworm了

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

屏幕截图 2025-03-08 192649这是相关说明,python:3.7-slim确实是动态镜像他的最底层镜像已经是debian12了
屏幕截图 2025-03-08 192725
这是需要修改的,他的最底层镜像还是debian11了
屏幕截图 2025-03-08 193112
这是我提交修改的镜像
LmeSzinc,提供镜像的SHA256标签,你也应该明白python:3.7-slim目前确实是指向python:3.7-slim-bookworm的

@Lyiyeyulongwu Lyiyeyulongwu requested a review from LmeSzinc March 6, 2025 09:06
@Lyiyeyulongwu Lyiyeyulongwu marked this pull request as draft March 8, 2025 11:24
@Lyiyeyulongwu Lyiyeyulongwu marked this pull request as ready for review March 8, 2025 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants