chore: 修正 Dockerfile 中的 repo 文件名匹配模式

This commit is contained in:
xiao 2024-12-04 18:20:49 +08:00 committed by cnb
parent 72e62a83ab
commit 9659f1ad2f

View File

@ -4,7 +4,7 @@ FROM rockylinux:9
RUN sed -e 's|^mirrorlist=|#mirrorlist=|g' \
-e 's|^#baseurl=http://dl.rockylinux.org/$contentdir|baseurl=https://mirrors.tencent.com/rocky|g' \
-i.bak \
/etc/yum.repos.d/Rocky-*.repo \
/etc/yum.repos.d/rocky-*.repo \
&& yum makecache \
&& yum config-manager --set-enabled devel \
&& yum update -y \