Skip to content

Commit e9b6ca5

Browse files
authored
Fix cmake installation. (oceanbase#65)
The previous download link is inaccessible.
1 parent b065330 commit e9b6ca5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ ENV LD_LIBRARY_PATH /usr/local/lib64:$LD_LIBRARY_PATH
2424
# clone deps and compile deps
2525
RUN mkdir -p ${HOME_DIR}/deps
2626
WORKDIR ${HOME_DIR}/deps
27-
RUN wget http://yum-test.obvos.alibaba-inc.com/oceanbase/development-kit/el/7/x86_64/obdevtools-cmake-3.20.2-3.el7.x86_64.rpm \
28-
&& rpm -ivh obdevtools-cmake-3.20.2-3.el7.x86_64.rpm && rm -f obdevtools-cmake-3.20.2-3.el7.x86_64.rpm
27+
RUN wget https://github.com/Kitware/CMake/releases/download/v3.24.0/cmake-3.24.0-linux-x86_64.sh \
28+
&& bash cmake-3.24.0-linux-x86_64.sh --prefix=/usr/local/ --exclude-subdir && rm -f cmake-3.24.0-linux-x86_64.sh
2929

3030
RUN git clone https://github.com/libevent/libevent -b release-2.1.12-stable \
3131
&& mkdir -p ${HOME_DIR}/deps/libevent/build \

0 commit comments

Comments
 (0)