From 16acad1241cb43b19ac59f26d6cfa8b6a7777957 Mon Sep 17 00:00:00 2001 From: Dan Wang Date: Tue, 24 Oct 2023 12:14:23 +0800 Subject: [PATCH] fix(CI): Fix the "Lint Dockerfile" action failure (#1656) (#1657) 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 c1e53891af..68440304c0 100644 --- a/docker/pegasus-build-env/ubuntu1804/Dockerfile +++ b/docker/pegasus-build-env/ubuntu1804/Dockerfile @@ -61,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 --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 && \