update dockerfile
This commit is contained in:
parent
ff3e5d2045
commit
591823a9c0
@ -1,4 +1,4 @@
|
|||||||
FROM resin/rpi-raspbian:jessie
|
FROM resin/rpi-raspbian:lastest
|
||||||
|
|
||||||
|
|
||||||
# Set the working directory in the container
|
# Set the working directory in the container
|
||||||
@ -8,10 +8,10 @@ WORKDIR /app
|
|||||||
COPY ./main.py /app/
|
COPY ./main.py /app/
|
||||||
|
|
||||||
# Install any dependencies
|
# Install any dependencies
|
||||||
RUN apt-get update && \
|
RUN apt update && \
|
||||||
apt-get install -y \
|
apt install -y \
|
||||||
build-essential \
|
build-essential \
|
||||||
python-dev python-pip \
|
python3 python3-pip \
|
||||||
libglib2.0-dev libboost-python-dev libboost-thread-dev libbluetooth-dev && \
|
libglib2.0-dev libboost-python-dev libboost-thread-dev libbluetooth-dev && \
|
||||||
pip install bleak
|
pip install bleak
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user