Skip to content

Commit 93710a0

Browse files
leoparenteclaude
andcommitted
fix: add conan export to Dockerfile and README build steps
The vendored corrade/cci.20260327 recipe must be exported before any conan install/cmake invocation on a clean cache. Update: - docker/Dockerfile: COPY conan/ and run conan export before cmake - README.md: add conan export step to the local build instructions Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 2670aee commit 93710a0

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -606,6 +606,8 @@ The general build steps are:
606606
git clone https://github.com/netboxlabs/pktvisor.git
607607
cd pktvisor/
608608
conan profile detect -f
609+
# export the vendored Corrade recipe (not in conan-center)
610+
conan export conan/corrade/ --name=corrade --version=cci.20260327
609611
cd build/
610612
# configure and handle dependencies
611613
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_PROJECT_TOP_LEVEL_INCLUDES=./cmake/conan_provider.cmake ..

docker/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,13 @@ COPY ./cmake/ /pktvisor-src/cmake/
2121
COPY ./CMakeLists.txt /pktvisor-src/
2222
COPY ./conanfile.py /pktvisor-src/
2323
COPY ./.conanrc /pktvisor-src/
24+
COPY ./conan/ /pktvisor-src/conan/
2425

2526
WORKDIR /pktvisor-src
2627

2728
RUN \
2829
conan profile detect -f && \
30+
conan export conan/corrade/ --name=corrade --version=cci.20260327 && \
2931
cd build/ && \
3032
PKG_CONFIG_PATH=/local/lib/pkgconfig cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_PROJECT_TOP_LEVEL_INCLUDES=./cmake/conan_provider.cmake .. && \
3133
make all -j 4

0 commit comments

Comments
 (0)