From 21e25cad370e4b8f8c9c135ef5c3bc57c662e786 Mon Sep 17 00:00:00 2001 From: Yingchun Lai Date: Tue, 24 Oct 2023 11:17:27 +0800 Subject: [PATCH] fix(CI): Fix the "Lint Dockerfile" action failure (#1656) https://github.com/apache/incubator-pegasus/issues/1654 Fix the DL3042 warning by adding `--no-cache-dir`. --- docker/pegasus-build-env/ubuntu1804/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/pegasus-build-env/ubuntu1804/Dockerfile b/docker/pegasus-build-env/ubuntu1804/Dockerfile index 667b64120e..fb4c9a47ac 100644 --- a/docker/pegasus-build-env/ubuntu1804/Dockerfile +++ b/docker/pegasus-build-env/ubuntu1804/Dockerfile @@ -63,7 +63,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 --upgrade pip && pip3 install --no-cache-dir cmake +RUN pip3 install --no-cache-dir --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 && \