do not force to make sure there is enough disk space for observer in docker any more

This commit is contained in:
hnwyllmm
2022-05-16 20:35:33 +08:00
committed by wangzelin.wzl
parent f327de3913
commit 1f5c1bfd15
14 changed files with 54 additions and 401 deletions

View File

@ -1,15 +1,25 @@
FROM oceanbase/centos7:latest
ARG VERSION=3.1.3-10100032022041510
RUN yum-config-manager --add-repo https://mirrors.aliyun.com/oceanbase/OceanBase.repo && \
yum install -y ob-deploy obclient ob-sysbench wget libaio && \
mkdir /root/pkg && \
rm -rf /usr/obd/mirror/remote/* && \
rm -rf /u01/mysql /u01/obclient/bin/mysqld* /u01/obclient/bin/aria* /u01/obclient/bin/maria* && \
yum clean all
RUN mkdir /root/pkg && \
cd /root/pkg && \
wget https://mirrors.aliyun.com/oceanbase/community/stable/el/7/x86_64/oceanbase-ce-3.1.2-10000392021123010.el7.x86_64.rpm -q && \
wget https://mirrors.aliyun.com/oceanbase/community/stable/el/7/x86_64/oceanbase-ce-libs-3.1.2-10000392021123010.el7.x86_64.rpm -q && \
wget https://mirrors.aliyun.com/oceanbase/community/stable/el/7/x86_64/oceanbase-ce-${VERSION}.el7.x86_64.rpm -q && \
wget https://mirrors.aliyun.com/oceanbase/community/stable/el/7/x86_64/oceanbase-ce-libs-${VERSION}.el7.x86_64.rpm -q && \
rm -rf /usr/obd/mirror/remote/* && \
obd mirror clone *.rpm && \
obd mirror list local && \
rm -rf /root/base /root/pkg && \
yum clean all
COPY boot /root/boot/
ENV PATH /root/boot:$PATH
WORKDIR /root
CMD _boot