| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.version=24.04 |
| ADD file:c98b7645109cdf61ab97492b90629581b1b7cb925b9d58a5787a4aaeb719f2be in / |
| CMD ["/bin/bash"] |
| RUN /bin/sh -c apt-get update && apt-get install -y git nano gnupg curl software-properties-common # buildkit |
| RUN /bin/sh -c DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y autoconf automake build-essential ccache cmake cpufrequtils doxygen ethtool g++ git inetutils-tools libboost-all-dev libncurses6 libncurses-dev libusb-1.0-0 libusb-1.0-0-dev libusb-dev python3-dev python3-mako python3-numpy python3-requests python3-scipy python3-setuptools python3-ruamel.yaml # buildkit |
| RUN /bin/sh -c DEBIAN_FRONTEND=noninteractive git clone https://github.com/EttusResearch/uhd.git && cd uhd && git checkout v4.7.0.0 && cd host && mkdir build && cd build && cmake ../ && make -j $(nproc) && make install # buildkit |
| RUN /bin/sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y gcc g++ pkg-config libfftw3-dev libmbedtls-dev libsctp-dev libyaml-cpp-dev libgtest-dev libcurl4-openssl-dev && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit |
| COPY . /riaran # buildkit |
| WORKDIR /riaran |
| RUN /bin/sh -c mkdir build && cd build && cmake .. && make -j $(nproc) && make install # buildkit |
| RUN /bin/sh -c DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y tmux python3-pip python3-venv python3-zmq # buildkit |
| RUN /bin/sh -c sh -c 'for f in *; do [ "$f" != "configs" ] && rm -rf "$f"; done' # buildkit |
| RUN /bin/sh -c rm -rf /uhd/ # buildkit |
| ENTRYPOINT ["bash"] |