Skip to content

Commit bf29ec2

Browse files
committed
building Glib
1 parent e4a7dbf commit bf29ec2

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

projects/connectedhomeip/Dockerfile

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#
1515
################################################################################
1616

17-
FROM gcr.io/oss-fuzz-base/base-builder:ubuntu-24-04
17+
FROM gcr.io/oss-fuzz-base/base-builder:latest
1818

1919
# Install prerequisite packages
2020
# See connectedhomeip/docs/guides/BUILDING.md#prerequisites
@@ -23,13 +23,27 @@ RUN apt-get update && \
2323
libavahi-client-dev ninja-build \
2424
unzip libgirepository1.0-dev libcairo2-dev libreadline-dev
2525

26+
RUN pip3 install meson
27+
28+
29+
RUN cd /tmp && \
30+
wget https://download.gnome.org/sources/glib/2.68/glib-2.68.0.tar.xz && \
31+
tar xf glib-2.68.0.tar.xz && \
32+
cd glib-2.68.0 && \
33+
meson _build --prefix=/usr/local && \
34+
ninja -C _build && \
35+
ninja -C _build install && \
36+
ldconfig && \
37+
cd / && rm -rf /tmp/glib-2.68.0*
38+
39+
2640
# Install Rust for building `cryptography` python package when bootstraping pigweed
2741
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
2842
ENV PATH="/root/.cargo/bin:${PATH}"
2943
RUN rustup install nightly
3044
RUN rustup default nightly
3145

32-
RUN git clone --depth=1 --branch AA/stopStaticLibLinkingOSS https://github.com/Alami-Amine/connectedhomeip.git connectedhomeip
46+
RUN git clone --depth=1 https://github.com/project-chip/connectedhomeip.git connectedhomeip
3347

3448
# PW_PROJECT_ROOT is used in requirements.build.txt
3549
ENV PW_PROJECT_ROOT=$SRC/connectedhomeip

0 commit comments

Comments
 (0)