mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-28 09:08:50 +02:00
add Dockerfile.debian for hass
This commit is contained in:
parent
35f70558c8
commit
2ebeb7d8ae
36
hass/Dockerfile.debian
Normal file
36
hass/Dockerfile.debian
Normal file
@ -0,0 +1,36 @@
|
||||
#
|
||||
# Dockerfile for hass (Home Assistant)
|
||||
#
|
||||
|
||||
FROM debian:jessie
|
||||
MAINTAINER EasyPi Software Foundation
|
||||
|
||||
RUN set -xe \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y build-essential \
|
||||
curl \
|
||||
libbluetooth3 \
|
||||
libbluetooth-dev \
|
||||
libboost-python-dev \
|
||||
libboost-thread-dev \
|
||||
libglib2.0 \
|
||||
libglib2.0-dev \
|
||||
pkg-config \
|
||||
python-dev \
|
||||
python3-dev \
|
||||
&& curl https://bootstrap.pypa.io/get-pip.py | python3 \
|
||||
&& pip3 install --no-cache-dir gattlib \
|
||||
homeassistant \
|
||||
pybluez \
|
||||
&& apt-get remove -y curl \
|
||||
libbluetooth-dev \
|
||||
libboost-python-dev \
|
||||
libboost-thread-dev \
|
||||
libglib2.0-dev \
|
||||
pkg-config \
|
||||
python-dev
|
||||
|
||||
VOLUME /etc/hass
|
||||
EXPOSE 8123
|
||||
|
||||
ENTRYPOINT ["hass", "--config", "/etc/hass"]
|
36
hass/arm/Dockerfile.debian
Normal file
36
hass/arm/Dockerfile.debian
Normal file
@ -0,0 +1,36 @@
|
||||
#
|
||||
# Dockerfile for hass-arm (Home Assistant)
|
||||
#
|
||||
|
||||
FROM resin/rpi-raspbian:jessie
|
||||
MAINTAINER EasyPi Software Foundation
|
||||
|
||||
RUN set -xe \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y build-essential \
|
||||
curl \
|
||||
libbluetooth3 \
|
||||
libbluetooth-dev \
|
||||
libboost-python-dev \
|
||||
libboost-thread-dev \
|
||||
libglib2.0 \
|
||||
libglib2.0-dev \
|
||||
pkg-config \
|
||||
python-dev \
|
||||
python3-dev \
|
||||
&& curl https://bootstrap.pypa.io/get-pip.py | python3 \
|
||||
&& pip3 install --no-cache-dir gattlib \
|
||||
homeassistant \
|
||||
pybluez \
|
||||
&& apt-get remove -y curl \
|
||||
libbluetooth-dev \
|
||||
libboost-python-dev \
|
||||
libboost-thread-dev \
|
||||
libglib2.0-dev \
|
||||
pkg-config \
|
||||
python-dev
|
||||
|
||||
VOLUME /etc/hass
|
||||
EXPOSE 8123
|
||||
|
||||
ENTRYPOINT ["hass", "--config", "/etc/hass"]
|
Loading…
Reference in New Issue
Block a user