Skip to content

Commit

Permalink
Added Dockerfile and build instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
tommychinjr committed Nov 4, 2023
1 parent 2d504c7 commit 79aeabd
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
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

0 comments on commit 79aeabd

Please sign in to comment.