Skip to content

Commit

Permalink
Install Clang 5 in Cross builder image
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelsproul committed Jun 27, 2023
1 parent 7c2eb96 commit 56c7a52
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion scripts/cross/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,17 @@ RUN apt-get install -y unzip && \
unzip protoc.zip -d /usr && \
chmod +x /usr/bin/protoc

RUN apt-get install -y cmake clang-3.9
RUN apt-get install -y \
apt-transport-https \
ca-certificates \
gnupg-agent \
software-properties-common

RUN curl -L https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - && \
apt-add-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-5.0 main" && \
apt-get update && \
apt-get install -y clang-5.0

RUN apt-get install -y cmake

ENV PROTOC=/usr/bin/protoc

0 comments on commit 56c7a52

Please sign in to comment.