-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #109 from home-assistant-libs/debian-12-build
Use minimal Debian 12 build container
- Loading branch information
Showing
2 changed files
with
118 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Based on integrations/docker/images/base/chip-build-minimal/Dockerfile | ||
# Use Debian 12 bookworm and install all required dependencies to build and test | ||
# the Python wheels. | ||
FROM debian:12 | ||
LABEL org.opencontainers.image.source https://github.com/project-chip/connectedhomeip | ||
|
||
RUN set -x \ | ||
&& apt-get update \ | ||
&& DEBIAN_FRONTEND=noninteractive apt-get upgrade -y \ | ||
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ | ||
build-essential \ | ||
ca-certificates \ | ||
generate-ninja \ | ||
git pkg-config \ | ||
ninja-build \ | ||
python3-venv \ | ||
&& git config --global advice.detachedHead false | ||
|
||
# CHIP build dependencies | ||
RUN set -x \ | ||
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ | ||
libssl-dev libglib2.0-dev \ | ||
libnl-3-dev libnl-route-3-dev \ | ||
libcairo2-dev libgirepository1.0-dev \ | ||
libdbus-1-dev \ | ||
python3-dev |