This is an automated email from the ASF dual-hosted git repository.

laiyingchun pushed a commit to branch fix_build_docker
in repository https://gitbox.apache.org/repos/asf/incubator-pegasus.git

commit 6bc8f4f14ee835642aa360b4e4a6536bfda8c219
Author: Yingchun Lai <[email protected]>
AuthorDate: Thu Jul 6 10:50:38 2023 +0800

    fix(docker): fix pegasus-build-env of ubuntu:18.04 Dockerfile
---
 docker/pegasus-build-env/ubuntu1804/Dockerfile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/docker/pegasus-build-env/ubuntu1804/Dockerfile 
b/docker/pegasus-build-env/ubuntu1804/Dockerfile
index 0f18d6f0a..c1e53891a 100644
--- a/docker/pegasus-build-env/ubuntu1804/Dockerfile
+++ b/docker/pegasus-build-env/ubuntu1804/Dockerfile
@@ -51,7 +51,8 @@ RUN apt-get update -y; \
                        libssl-dev \
                        bison \
                        maven \
-                       flex; \
+                       flex \
+                       python3-setuptools; \
     rm -rf /var/lib/apt/lists/*
 
 RUN add-apt-repository ppa:git-core/ppa -y; \
@@ -60,7 +61,7 @@ RUN add-apt-repository ppa:git-core/ppa -y; \
     apt-get install pkg-config -y --no-install-recommends; \
     rm -rf /var/lib/apt/lists/*
 
-RUN pip3 install --no-cache-dir cmake
+RUN pip3 install --upgrade pip && pip3 install --no-cache-dir cmake
 
 RUN wget --progress=dot:giga 
https://github.com/apache/thrift/archive/refs/tags/0.11.0.tar.gz -P /opt/thrift 
&& \
     cd /opt/thrift && tar xzf 0.11.0.tar.gz && cd thrift-0.11.0 && 
./bootstrap.sh && \


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to