-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #998 from anarkiwi/uhdsr
split out uhd-sr image.
- Loading branch information
Showing
4 changed files
with
31 additions
and
20 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
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
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
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,20 @@ | ||
FROM ubuntu:22.04 as uhd_sample_recorder-builder | ||
ENV DEBIAN_FRONTEND noninteractive | ||
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
build-essential \ | ||
ca-certificates \ | ||
cmake \ | ||
git \ | ||
libboost-all-dev \ | ||
libuhd-dev \ | ||
libvulkan-dev \ | ||
sudo | ||
WORKDIR /root | ||
RUN git clone https://github.com/iqtlabs/uhd_sample_recorder -b v1.0.8 | ||
WORKDIR /root/uhd_sample_recorder | ||
RUN ./bin/install-deps.sh && rm -rf VkFFT | ||
COPY --from=iqtlabs/gamutrf-vkfft:latest /root /root/uhd_sample_recorder | ||
WORKDIR /root/uhd_sample_recorder/build | ||
RUN CMAKE_BUILD_TYPE=Release cmake ../lib && make -j $(nproc) && cp uhd_sample_recorder /usr/local/bin | ||
FROM ubuntu:22.04 | ||
COPY --from=uhd_sample_recorder-builder /usr/local /usr/local |