From b11c38779d319fc6dde97e5e9a45b26e68ddd6e1 Mon Sep 17 00:00:00 2001 From: longpanda Date: Sat, 16 Nov 2024 17:00:25 +0800 Subject: [PATCH] docker file --- Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8ae66b3b3e2..0813189788d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,11 @@ FROM centos:7 -RUN yum -y -q install \ +RUN sed -i \ + -e 's/^mirrorlist/#mirrorlist/' \ + -e 's/^#baseurl/baseurl/' \ + -e 's/mirror\.centos\.org/vault.centos.org/' \ + /etc/yum.repos.d/*.repo && \ + yum -y -q install \ libXpm net-tools bzip2 wget vim gcc gcc-c++ samba dos2unix glibc-devel glibc.i686 glibc-devel.i686 \ mpfr.i686 mpfr-devel.i686 rsync autogen autoconf automake libtool gettext* bison binutils \ flex device-mapper-devel SDL libpciaccess libusb freetype freetype-devel gnu-free-* qemu-* virt-* \