Skip to content

Commit

Permalink
Merge pull request #294 from peng9808/main
Browse files Browse the repository at this point in the history
update base image
  • Loading branch information
peng9808 authored Jul 29, 2024
2 parents 2ad3d82 + 0b41b50 commit db95556
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit db95556

Please sign in to comment.