From 2854a2a20bf474ced59b2c1db7a25497a30e703f Mon Sep 17 00:00:00 2001 From: Jimmy Chen Date: Tue, 25 Jul 2023 14:20:31 +1000 Subject: [PATCH] Use maxperf profile when building Lighthouse from source. (#1452) --- lighthouse/Dockerfile.source | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lighthouse/Dockerfile.source b/lighthouse/Dockerfile.source index 53498995..c223a634 100644 --- a/lighthouse/Dockerfile.source +++ b/lighthouse/Dockerfile.source @@ -14,7 +14,7 @@ RUN apt-get update && apt-get -y dist-upgrade && apt-get install -y cmake libcla #ENV PATH="/root/.cargo/bin:${PATH}" WORKDIR /usr/src -RUN bash -c "git clone https://github.com/sigp/lighthouse.git && cd lighthouse && git config advice.detachedHead false && git fetch --all --tags && if [[ ${BUILD_TARGET} =~ pr-.+ ]]; then git fetch origin pull/$(echo ${BUILD_TARGET} | cut -d '-' -f 2)/head:lh-pr; git checkout lh-pr; else git checkout ${BUILD_TARGET}; fi && make" +RUN bash -c "git clone https://github.com/sigp/lighthouse.git && cd lighthouse && git config advice.detachedHead false && git fetch --all --tags && if [[ ${BUILD_TARGET} =~ pr-.+ ]]; then git fetch origin pull/$(echo ${BUILD_TARGET} | cut -d '-' -f 2)/head:lh-pr; git checkout lh-pr; else git checkout ${BUILD_TARGET}; fi && CROSS_PROFILE=maxperf make" # Pull all binaries into a second stage deploy debian container FROM debian:bookworm-slim