Skip to content

Commit afde4f1

Browse files
committed
chore: remove llvm.sh after use
1 parent 0853720 commit afde4f1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ENV HOME="/root"
1010
RUN apt-get update && apt-get install -y apt-transport-https ca-certificates apt-utils
1111

1212
# Install the basic build essentials
13-
COPY ./sources.list /etc/apt/
13+
# COPY ./sources.list /etc/apt/
1414
RUN apt-get update && \
1515
apt-get install -y \
1616
binutils \
@@ -60,7 +60,8 @@ RUN wget https://apt.llvm.org/llvm.sh && \
6060
/bin/bash ./llvm.sh 17 && \
6161
update-alternatives --install /usr/bin/clang clang /usr/bin/clang-17 1 && \
6262
update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-17 1 && \
63-
update-alternatives --install /usr/bin/lldb lldb /usr/bin/lldb-17 1
63+
update-alternatives --install /usr/bin/lldb lldb /usr/bin/lldb-17 1 && \
64+
rm llvm.sh
6465

6566
# Install clang tools
6667
RUN apt-get install -y clang-tools clang-format clang-tidy

0 commit comments

Comments
 (0)