This is an automated email from the ASF dual-hosted git repository.
wangdan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pegasus.git
The following commit(s) were added to refs/heads/master by this push:
new 614623301 fix(docker): fix pegasus-build-env of ubuntu:18.04
Dockerfile (#1558)
614623301 is described below
commit 61462330184fe099bc2220819c1172f12d4f97c7
Author: Yingchun Lai <[email protected]>
AuthorDate: Thu Jul 6 14:51:18 2023 +0800
fix(docker): fix pegasus-build-env of ubuntu:18.04 Dockerfile (#1558)
https://github.com/apache/incubator-pegasus/issues/1559
Fix the error of `pip3 install --no-cache-dir cmake`
---
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]