Skip to content

Commit d9ca3d4

Browse files
committed
building Glib
1 parent e4a7dbf commit d9ca3d4

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

projects/connectedhomeip/Dockerfile

Lines changed: 15 additions & 1 deletion
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,6 +23,20 @@ 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}"

0 commit comments

Comments
 (0)