Skip to content

Commit 4a93402

Browse files
Thecave3claude
andauthored
docker(deps): drop hatch, add nlohmann-json3-dev for scikit-build-core (#2)
dApp-library v0.1.1 replaced the hatchling build backend with scikit-build-core, which compiles the bundled libiqsaver C++ extension at install time. The base deps image installed 'hatch' (no longer used) and lacked nlohmann/json (a new build-time dependency). - remove 'hatch' from the venv pip install list (keep 'build') - add 'nlohmann-json3-dev' to the apt layer (cmake and swig are already provided later in this image) Dockerfile-oai-dapp already installs the dApp via 'pip install ".[all]"', which now drives the scikit-build-core build using these deps. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 7bd5e0b commit 4a93402

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docker/Dockerfile-deps

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ RUN apt-get update && apt-get install -y \
3838
sudo \
3939
tini \
4040
libjson-c-dev \
41+
nlohmann-json3-dev \
4142
libsqlite3-dev \
4243
libzmq3-dev \
4344
python3 \
@@ -64,7 +65,6 @@ ENV PATH="/opt/cmake/bin:${PATH}"
6465
RUN python3 -m venv /opt/venv \
6566
&& /opt/venv/bin/pip install --upgrade pip \
6667
&& /opt/venv/bin/pip install --no-cache-dir \
67-
hatch \
6868
build \
6969
fastapi \
7070
uvicorn \

0 commit comments

Comments
 (0)