Skip to content

Commit

Permalink
use oceanbase mirror
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-sun-star committed Jun 24, 2024
1 parent f779899 commit e57a9d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oceanbase-ce/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ COPY build /root/build
RUN mkdir -p pkgs

RUN yum install -y yum-utils && \
yum-config-manager --add-repo http://mirrors.aliyun.com/oceanbase/OceanBase.repo && \
yum-config-manager --add-repo http://mirrors.oceanbase.com/oceanbase/OceanBase.repo && \
sed -i 's/$releasever/7/' /etc/yum.repos.d/OceanBase.repo && \
yum install -y ob-deploy && \
yum clean all
Expand All @@ -31,7 +31,7 @@ FROM --platform=$BUILDPLATFORM openanolis/anolisos

WORKDIR /root
RUN yum install -y yum-utils && \
yum-config-manager --add-repo http://mirrors.aliyun.com/oceanbase/OceanBase.repo && \
yum-config-manager --add-repo http://mirrors.oceanbase.com/oceanbase/OceanBase.repo && \
sed -i 's/$releasever/7/' /etc/yum.repos.d/OceanBase.repo && \
yum install -y ob-deploy obclient ob-sysbench gettext ncurses-compat-libs openssh-server && \
yum clean all
Expand Down

0 comments on commit e57a9d6

Please sign in to comment.