chore: 修正 Dockerfile 中的 repo 文件名匹配模式
This commit is contained in:
parent
72e62a83ab
commit
9659f1ad2f
@ -4,7 +4,7 @@ FROM rockylinux:9
|
|||||||
RUN sed -e 's|^mirrorlist=|#mirrorlist=|g' \
|
RUN sed -e 's|^mirrorlist=|#mirrorlist=|g' \
|
||||||
-e 's|^#baseurl=http://dl.rockylinux.org/$contentdir|baseurl=https://mirrors.tencent.com/rocky|g' \
|
-e 's|^#baseurl=http://dl.rockylinux.org/$contentdir|baseurl=https://mirrors.tencent.com/rocky|g' \
|
||||||
-i.bak \
|
-i.bak \
|
||||||
/etc/yum.repos.d/Rocky-*.repo \
|
/etc/yum.repos.d/rocky-*.repo \
|
||||||
&& yum makecache \
|
&& yum makecache \
|
||||||
&& yum config-manager --set-enabled devel \
|
&& yum config-manager --set-enabled devel \
|
||||||
&& yum update -y \
|
&& yum update -y \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user