diff --git a/Dockerfile b/Dockerfile index d6a8eb4..bb0ba5d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,18 @@ ## STAGE 1 // BUILD FROM code.foss.global/host.today/ht-docker-node:lts AS build +# System build tools that the Rust dep tree needs beyond the base image: +# - cmake : used by the `cmake` crate (transitive via ort_sys / a webrtc +# sub-crate) to build a C/C++ library from source when a +# prebuilt-binary download path doesn't apply. +# - pkg-config : used by audiopus_sys and other *-sys crates to locate libs +# on the native target (safe no-op if they vendor their own). +# These are normally pre-installed on dev machines but not in ht-docker-node:lts. +RUN apt-get update && apt-get install -y --no-install-recommends \ + cmake \ + pkg-config \ + && rm -rf /var/lib/apt/lists/* + # buildx sets TARGETARCH automatically for each platform it's building: # linux/amd64 -> TARGETARCH=amd64 # linux/arm64 -> TARGETARCH=arm64 diff --git a/changelog.md b/changelog.md index 570f193..227a192 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,11 @@ # Changelog +## 2026-04-11 - 1.20.1 - fix(docker) +install required native build tools for Rust dependencies in the build image + +- Add cmake and pkg-config to the Docker build stage so Rust native dependencies can compile successfully in the container +- Document why these tools are needed for transitive Rust crates that build or detect native libraries + ## 2026-04-11 - 1.20.0 - feat(docker) add multi-arch Docker build and tagged release pipeline diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index aeff1af..dd80748 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: 'siprouter', - version: '1.20.0', + version: '1.20.1', description: 'undefined' } diff --git a/ts_web/00_commitinfo_data.ts b/ts_web/00_commitinfo_data.ts index aeff1af..dd80748 100644 --- a/ts_web/00_commitinfo_data.ts +++ b/ts_web/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: 'siprouter', - version: '1.20.0', + version: '1.20.1', description: 'undefined' }