Skip to content

Commit

Permalink
fix(CI): Fix the "Lint Dockerfile" action failure (apache#1656) (apac…
Browse files Browse the repository at this point in the history
…he#1657)

apache#1654

Fix the DL3042 warning by adding `--no-cache-dir`.
  • Loading branch information
empiredan authored Oct 24, 2023
1 parent cc68d09 commit 16acad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/pegasus-build-env/ubuntu1804/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down

0 comments on commit 16acad1

Please sign in to comment.