summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryangwei <[email protected]>2020-09-20 10:21:41 +0800
committeryangwei <[email protected]>2020-09-20 10:21:41 +0800
commit4af1bc7729a0979b2384cb392727a056d1bf1e46 (patch)
tree293644aac31f882241a6062ec772a0c6ecabd33f
parentad03d77ddd969a05b8edbd256a1d9962c932e5cd (diff)
重命名cmake为cmake3,兼容直接使用cmake3命令的ci任务
-rw-r--r--Dockerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index da44119..e553e5e 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -9,6 +9,7 @@ RUN yum install -y gcc gcc-c++ make libpcap-devel epel-release patch wget socat
cd /tmp/build_cmake && \
tar xf cmake-3.12.4-Linux-x86_64.tar.gz && \
cp -r cmake-3.12.4-Linux-x86_64/* /usr/local/ && \
+ cp /usr/local/bin/cmake /usr/local/bin/cmake3 && \
yum install -y python3-pip && \
pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple httpie && \
curl -sL https://sentry.io/get-cli/ | bash && \