chore: 优化 Dockerfile 的构建流程

This commit is contained in:
xiao 2024-12-04 18:25:52 +08:00 committed by cnb
parent 058636ffcc
commit 7062879bfd

View File

@ -5,7 +5,7 @@ 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 \
&& yum install yum-utils \
&& yum install -y yum-utils \
&& yum makecache \
&& yum config-manager --set-enabled devel \
&& yum update -y \