Skip to content

Commit 5ff03ab

Browse files
author
kallenberg
committed
Use apt clang-10 installation
1 parent f85d1d6 commit 5ff03ab

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

Util/Docker/Development.Dockerfile

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,20 +32,13 @@ RUN apt-get update \
3232
# - fontconfig: required for loading system fonts (e.g., in manual_control.py)
3333
# - libxml2-dev: CARLA build packaging depenencies(make build.utils)
3434
# - xdg-user-dirs: so the Unreal Engine can use it to locate the user's Documents directory
35-
RUN packages="vulkan-tools fontconfig libxml2-dev xdg-user-dirs" && \
35+
RUN packages="vulkan-tools fontconfig libxml2-dev xdg-user-dirs clang-10" && \
3636
apt-get update && \
3737
apt-get install -y $packages && \
3838
rm -rf /var/lib/apt/lists/*
3939

40-
# Install Clang 10 (required by CARLA's Boost build)
41-
RUN apt-get update && \
42-
apt-get install -y wget software-properties-common && \
43-
wget https://apt.llvm.org/llvm.sh && \
44-
chmod +x llvm.sh && \
45-
./llvm.sh 10 && \
46-
rm llvm.sh
47-
48-
RUN ln -sf /usr/bin/clang++-10 /usr/bin/clang++-10.0 && \
40+
# Create symlinks for clang-10 to be compatible with Unreal Engine expectations
41+
RUN ln -sf /usr/bin/clang++-10 /usr/bin/clang++-10.0 && \
4942
ln -sf /usr/bin/clang-10 /usr/bin/clang-10.0
5043

5144
ENV XDG_RUNTIME_DIR=/run/user/${UID}

0 commit comments

Comments
 (0)