From 74847d3bacdb992dc4943b94cae77e8072ee96f5 Mon Sep 17 00:00:00 2001 From: peng9808 Date: Mon, 29 Jul 2024 17:18:01 +0800 Subject: [PATCH] update base image Signed-off-by: peng9808 --- Dockerfile | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/Dockerfile b/Dockerfile index 343b278..0824734 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,4 @@ -FROM centos:7 - -# Update the CentOS repository configuration -RUN sed -i 's|mirrorlist=http://mirrorlist.centos.org/?|#mirrorlist=http://mirrorlist.centos.org/?|g' /etc/yum.repos.d/CentOS-*.repo && \ - sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*.repo - -# Install EPEL repository and upgrade nss -RUN yum install -y epel-release && \ - yum-config-manager --enable epel && \ - yum --disablerepo=base upgrade nss -y - +FROM ghcr.io/hwameistor/hwameistor-base-image:latest COPY ./vendor/github.com/hwameistor/hwameistor/deploy/crds /hwameistorcrds COPY ./vendor/github.com/hwameistor/datastore/deploy/crds /hwameistorcrds