Skip to content

Commit

Permalink
fix(docker): fix pegasus-build-env of ubuntu:18.04 Dockerfile (apache…
Browse files Browse the repository at this point in the history
…#1558)

apache#1559

Fix the error of `pip3 install --no-cache-dir cmake`
  • Loading branch information
acelyc111 authored and wangdan committed Dec 13, 2023
1 parent e644fb3 commit f3ab93f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker/pegasus-build-env/ubuntu1804/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand All @@ -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 && \
Expand Down

0 comments on commit f3ab93f

Please sign in to comment.