Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Dockerfile and build instructions #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM debian:bookworm-20231030 as build-stage

RUN apt-get update && \
apt-get install -y build-essential cmake xxd libliquid-dev libhackrf-dev libbladerf-dev libuhd-dev libfftw3-dev && \
rm -rf /var/lib/apt/lists/*

COPY . /build_dir

WORKDIR /build_dir

RUN mkdir build && \
cd build && \
cmake .. && \
make

FROM scratch AS export-stage
COPY --from=build-stage /build_dir/build/ice9-bluetooth /
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ on Linux if detected. Use `ice9-bluetooth --install` to install the
binary into your local extcap dir (`$HOME/.config/wireshark/extcap`). An
`uninstall` target is also provided as a convenience.

## Building with Docker
Run the following command if you need to build the binary from a Docker container

docker build -o build .

A `build` folder will appear with the compiled ice9-bluetooth binary. Please note that you will need to
have the relevant libraries (e.g., libhackrf) installed on the intended system to run the binary correctly.

## Running

This tool is primarily meant to be run from within Wireshark. That said,
Expand Down
Loading