Skip to content

Commit ac0d55e

Browse files
authored
Fix: Lighthouse source build uses clang (#2700)
1 parent 5cf2d03 commit ac0d55e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

lighthouse/Dockerfile.source

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ FROM rust:trixie AS builder
66
ARG DOCKER_TAG
77
ARG DOCKER_REPO
88

9-
RUN apt-get update && apt-get -y dist-upgrade && apt-get install -y --no-install-recommends cmake libclang-dev protobuf-compiler
9+
RUN apt-get update && apt-get -y dist-upgrade && apt-get install -y --no-install-recommends cmake clang libclang-dev protobuf-compiler
1010

1111
ARG BUILD_TARGET
1212
ARG SRC_REPO
@@ -15,6 +15,8 @@ ENV FEATURES portable,gnosis,slasher-lmdb,beacon-node-leveldb
1515
WORKDIR /usr/src
1616

1717
ARG SRC_DIR=lighthouse
18+
ENV CC=clang
19+
ENV CXX=clang++
1820
RUN bash -eo pipefail <<'EOF'
1921
git clone "$SRC_REPO" "$SRC_DIR"
2022
cd "$SRC_DIR"

0 commit comments

Comments
 (0)