update
This commit is contained in:
parent
041bfe4dc3
commit
2011505131
@ -1,6 +1,10 @@
|
|||||||
# 使用Python 3.10作为基础镜像
|
# 使用Python 3.10作为基础镜像
|
||||||
FROM python:3.10-slim
|
FROM python:3.10-slim
|
||||||
|
|
||||||
|
# 清空所有默认源
|
||||||
|
RUN rm -rf /etc/apt/sources.list.d/* && \
|
||||||
|
rm -f /etc/apt/sources.list
|
||||||
|
|
||||||
# 替换为阿里云源
|
# 替换为阿里云源
|
||||||
RUN echo "\
|
RUN echo "\
|
||||||
deb https://mirrors.aliyun.com/debian/ bookworm main non-free-firmware contrib\n\
|
deb https://mirrors.aliyun.com/debian/ bookworm main non-free-firmware contrib\n\
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user