Skip to content

Commit

Permalink
Docker Image build fix: adding abseil as system lib (#35277)
Browse files Browse the repository at this point in the history
* image build fix: adding abseil to docker image

* adding reference to issue
  • Loading branch information
Alami-Amine authored Aug 29, 2024
1 parent 8f9e8f1 commit cfdbba9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions integrations/docker/images/base/chip-build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,14 @@ RUN set -x \
ruff \
&& : # last line

#TODO Issue #35280: this is only added as a workaround to bloaty build failures, remove it once bloaty fixes issue
# Clone and install abseil-cpp
RUN git clone https://github.com/abseil/abseil-cpp.git /tmp/abseil-cpp \
&& cd /tmp/abseil-cpp \
&& cmake -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local \
&& cmake --build build --target install \
&& rm -rf /tmp/abseil-cpp

# Install bloat comparison tools
RUN set -x \
&& git clone https://github.com/google/bloaty.git \
Expand Down

0 comments on commit cfdbba9

Please sign in to comment.