-
Notifications
You must be signed in to change notification settings - Fork 434
/
Dockerfile
37 lines (35 loc) · 1018 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Sandbox test environment for Ubertooth
FROM ubuntu:20.04
# Override interactive installations and install prerequisite programs
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
cmake \
gcc \
gcc-arm-none-eabi \
git \
g++ \
libbluetooth-dev \
libnewlib-arm-none-eabi \
libusb-1.0-0-dev \
make \
pkg-config \
python3-distutils \
python3-numpy \
python3-pip \
python3-qtpy \
python3-setuptools \
python-is-python3 \
wget \
&& rm -rf /var/lib/apt/lists/*
RUN pip3 install git+https://github.com/CapableRobot/CapableRobot_USBHub_Driver --upgrade
RUN wget https://github.com/greatscottgadgets/libbtbb/archive/2020-12-R1.tar.gz -O libbtbb-2020-12-R1.tar.gz &&\
tar -xf libbtbb-2020-12-R1.tar.gz &&\
cd libbtbb-2020-12-R1 &&\
mkdir build &&\
cd build &&\
cmake .. &&\
make &&\
make install &&\
ldconfig
# Inform Docker that the container is listening on port 8080 at runtime.
EXPOSE 8080