Created
July 26, 2019 13:08
-
-
Save jgamblin/e0ac5fdf5cb53db978f12d4749a93542 to your computer and use it in GitHub Desktop.
Apple_Blee Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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