
* jenkins: initial commit * jenkins: add missing usb hub check script * jenkins: squish docker apt package install commands into a single command * jenkins: fix type in Dockerfile * jenkins: override interactive installations in Dockerfile (build-essentials fails due to tzdata) * jenkins: set executable flag on ci scripts * jenkins: remove sudo prefix from install scripts * jenkins: add python3 venv to Dockerfile and build scripts * jenkins: add missing python venv command to host install script * jenkins: remove python install and venv redundancies * jenkins: remove make install step, run hackrf tools directly from their build directory * jenkins: re-add python3 and pip installations to docker because usbhub depends on them * jenkins: add missing git install to docker * jenkins: add python-is-python3 to docker's installed dependencies * jenkins: use path string to specify the correct device for dfu-util * jenkins: specify usbhub id for dual hub setup * jenkins: turn unused usb hub ports off for testing * jenkins: remove custom job throttle property * use --disable-i2c usbhub option, install usbhub from latest, replace --privileged with cgroups option, remove redundancies from Dockerfile * update device usb path for dfu-util * remove apt/lists/* and fix typos * ci: remove redundant environment setup in Jenkins
24 lines
625 B
Docker
24 lines
625 B
Docker
# Sandbox test environment for HackRF
|
|
FROM ubuntu:20.04
|
|
CMD ["/bin/bash"]
|
|
|
|
# Override interactive installations and install prerequisites
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
RUN apt-get update && apt-get install -y \
|
|
build-essential \
|
|
cmake \
|
|
dfu-util \
|
|
gcc-arm-none-eabi \
|
|
git \
|
|
libfftw3-dev \
|
|
libusb-1.0-0-dev \
|
|
pkg-config \
|
|
python3 \
|
|
python3-pip \
|
|
python-is-python3 \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
RUN pip3 install git+https://github.com/CapableRobot/CapableRobot_USBHub_Driver --upgrade
|
|
|
|
# Inform Docker that the container is listening on port 8080 at runtime
|
|
EXPOSE 8080
|