Skip to content

Instantly share code, notes, and snippets.

@jgamblin
Created July 26, 2019 13:08
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save jgamblin/e0ac5fdf5cb53db978f12d4749a93542 to your computer and use it in GitHub Desktop.
Save jgamblin/e0ac5fdf5cb53db978f12d4749a93542 to your computer and use it in GitHub Desktop.
Apple_Blee Dockerfile
If you are interested in playing with Apple Blee (https://github.com/hexway/apple_bleee) I put together a Dockerfile to build a stand alone container to run the software.
build and install:
`docker build . -t apple_bleee`
`docker run --net="host" --privileged -i -t apple_bleee`
`cd apple_bleee && python3 ble_read_state.py`
Notes: Tested only on Raspberry Pi 3.
FROM ubuntu:18.04
RUN apt-get update && \
apt-get upgrade -y
RUN apt-get update && \
apt-get install -y \
bluetooth \
bluez \
cmake \
g++ \
gcc \
git \
iw \
libbluetooth-dev \
libc6-dev \
libev-dev \
libjpeg8-dev \
libnl-3-dev \
libnl-genl-3-dev \
libnl-route-3-dev \
libpcap-dev \
libudev-dev \
libusb-1.0-0-dev \
make \
net-tools \
pkg-config \
python3 \
python3-pip \
wget \
wireless-tools \
zlib1g-dev
RUN git clone https://github.com/hexway/apple_bleee.git && \
cd apple_bleee && \
pip3 install -r requirements.txt && \
git clone https://github.com/seemoo-lab/owl.git && \
cd ./owl && \
git submodule update --init && \
mkdir build && \
cd build && \
cmake .. && \
make && \
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment