-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Dockerfile and build instructions
- Loading branch information
1 parent
2d504c7
commit 79aeabd
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 / |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters