| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.ref.name=ubuntu |
| LABEL org.opencontainers.image.version=22.04 |
| ADD file:b045ee8ca1dc1b3294d6328d500a5ec30fb4bcdea1a91177f0280497c391ce2b in / |
| CMD ["/bin/bash"] |
| ENV DEBIAN_FRONTEND=noninteractive |
| RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends autoconf automake build-essential ccache cmake cpufrequtils curl doxygen ethtool g++ gcc git gnupg inetutils-tools libboost-all-dev libcurl4-openssl-dev libfftw3-dev libgtest-dev libmbedtls-dev libncurses-dev libsctp-dev libusb-1.0-0 libusb-1.0-0-dev libusb-dev libyaml-cpp-dev nano pkg-config python3-dev python3-mako python3-numpy python3-pip python3-requests python3-ruamel.yaml python3-scipy python3-setuptools python3-venv python3-zmq software-properties-common tmux && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c git clone --depth 1 https://github.com/EttusResearch/uhd.git /uhd && cd /uhd/host && mkdir build && cd build && cmake .. && make -j"$(nproc)" && make install && ldconfig # buildkit |
| RUN /bin/sh -c uhd_images_downloader || true # buildkit |
| COPY . /riaran # buildkit |
| WORKDIR /riaran |
| RUN /bin/sh -c mkdir -p build && cd build && cmake .. && make -j"$(nproc)" && make install # buildkit |
| RUN /bin/sh -c rm -rf /uhd # buildkit |
| ENTRYPOINT ["bash"] |