Commit Graph

107 Commits (c773d57d392dc1062948a5cd935b419587896575)

Author SHA1 Message Date
Paulus Schoutsen e49b970665 Block dependencies that depend on enum34 ()
* Block dependencies that depend on enum34

* Remove uninstalling enum34

* Update validation script

* Add constraints to tox.ini

* Upgrade yeelight to version that uses enum-compat

* Disable sensor.skybeacon

* Lint
2017-08-04 23:06:10 -07:00
Michaël Arnauts a663dbada0 Docker cleanup. () 2017-06-30 08:07:33 -07:00
Paulus Schoutsen b488663f2c Update Dockerfile 2017-06-23 23:13:38 -07:00
Jean Regisser 45f6f4443a Uninstall enum34 in python3.6 docker image ()
* Uninstall enum34 in python3.6 docker image

This is a short term fix for 

What's happening is the following dependencies are pulling enum34:
- pygatt
- libsoundtouch
- yeelight
However, enum34 is not meant to be installed in Python versions 3.4+
and causing the `AttributeError: module 'enum' has no attribute 'IntFlag'``

I've submitted patches to these projects so we don't have to do this
manual uninstall in the future.

* Update Dockerfile
2017-06-23 22:29:39 -07:00
Martin Tremblay a3a702b269 Adding ssocr to docker to support Seven Segments Display ()
* Adding ssocr to docker to support Seven Segments Display

* Adding cleanup
2017-06-15 20:31:30 -07:00
Paulus Schoutsen d0021a6171 Make monkey patch work in Python 3.6 ()
* Make monkey patch work in Python 3.6

* Update dockerfiles back to 3.6

* Lint

* Do not set env variable for dockerfile

* Lint
2017-06-01 23:23:39 -07:00
Phil Hawthorne bb92ef5497 Downgrade Docker to Python 3.5 to solve Segmentation Faults ()
Downgrades the Dockerfiles used by Home Assistant to Python 3.5, after
Python 3.6 base image was causing segmentation faults.

See 
2017-05-30 23:56:20 -07:00
Adam Mills 8c1181f8e3 Remove defunct INSTALL_OPENZWAVE from Dockerfile () 2017-05-21 17:01:42 -07:00
Paulus Schoutsen 305309a59e Upgrade Dockerfile to Python 3.6 () 2017-05-06 20:16:40 -07:00
Paulus Schoutsen 3e4e84e3a7 Re-enable Open Z-Wave in Dockerfile ()
Turbo fixed it in 
2017-04-27 01:02:14 -07:00
Paulus Schoutsen d2fb4675e1 Disable Open Z-Wave in Docker () 2017-04-26 07:37:05 -07:00
Paulus Schoutsen 951af6c76d Make Tradfri discoverable ()
* Make Tradfri discoverable

* Fix lint errors

* Fix bugs and clean up calls to light_control

* Add more color util tests

* Add coap client to dockerfile
2017-04-16 14:37:39 -07:00
Paulus Schoutsen 72a01b8a90 Speed up aiohttp () 2017-04-11 19:58:54 -07:00
Michaël Arnauts 8247acb7b9 Move docker installation scripts to virtualization/Docker path. Splits out openalpr to seperate script. () 2017-01-31 19:02:06 -08:00
Mathew Peterson d65f07860c Refactors script/setup_docker_prereqs ()
* Refactors script/setup_docker_prereqs

Refactors script/setup_docker_prereqs to allow toggling of packages
to being installed

* Adds support for openalpr to Docker

* Updates Dockerfile

Comments ENV directives in order to preserve cache.

* Fixes incorrect position of echo

* Fixes telldus installer by updating apt before pkg install
2017-01-31 18:11:51 +01:00
Jesse Newland 41a6c35ea2 Install phantomjs in Docker container () 2017-01-16 22:55:42 -08:00
Michaël Arnauts d4eabaf844 Remove build dirs from docker image to keep the layers small ()
* Remove build dirs from docker image to keep the layers small

* Create setup_docker_prereqs script to prepare docker env

* Add documentation for required packages, drop colorlog and cython in first step of Dockerfile since it will be installed later on anyway. Drop libglib2.0-dev and libbluetooth-dev

* Also remove early install of colorlog and cython in Dockerfile.dev

* Re-add libglib2.0-dev and libbluetooth-dev for Bluetooth LE
2017-01-14 07:41:41 -08:00
Adam Mills c7249a3e3a Build libcec for Docker image ()
* Build libcec for Docker image

* Update development dockerfile as well

* Dynamically load python paths for current version
2017-01-09 17:49:11 +01:00
Michaël Arnauts c864ea60c9 Improve development workflow in docker ()
* Allow bower install of frontend components as root. Needed for frontend development in docker since everything runs as root in the docker image.

* Improve development workflow in docker

* Use LANG=C.UTF-8 in tox. Fixes installation of libraries with UTF-8 in it's readme.

* Install mysqlclient psycopg2 uvloop after requirements_all.txt again, but with a --no-cache-dir this time. Allows bootstrap_frontend to be executed in a different path like the other scripts.
2017-01-02 22:04:09 +01:00
Audun Ytterdal 72bd9fb5c7 Remove libtelldus-core-dev from Dockerfile ()
Remove unnecessary  libtelldus-core-dev from Dockerfile . Ref https://github.com/home-assistant/home-assistant/pull/4680#issuecomment-266006310
2016-12-13 08:53:42 -08:00
Audun Ytterdal 8826e6a8d0 Add support for telldus in the Docker image. ()
* Add support for telldus in the Docker image. Start with -v /tmp/TelldusClient:/tmp/TelldusClient -v /tmp/TelldusEvents:/tmp/TelldusEvents

* Merged telldus install with the others

* Clean up indenting

* Stream apt-key
2016-12-06 09:01:47 -08:00
Paulus Schoutsen 4833e992fb Pin cython==0.24.1 () 2016-10-25 23:38:32 -07:00
Paulus Schoutsen f58647849a Fix Z-Wave: Pin cython in Dockerfile () 2016-10-25 23:17:34 -07:00
Jean Regisser 1d7169403b Add again certifi to Docker image ()
Latest versions of certifi (>= 2016.8.31) don't seem to break anything
anymore.
See 
2016-10-11 22:25:17 -07:00
Lewis Juggins 54248863b3 Use uvloop for asyncio policy () 2016-09-20 00:06:33 -07:00
Phil Hawthorne 91e36f380b Add PyBluez to Dockerfile ()
* Add PyBluez to Dockerfile

Adds PyBluez to Dockerfile so people using Docker can run Bluetooth
devices

* Remove pip install of pybluez

Pybluez will be installed automatically when the Bluetooth device
tracker is enabled
2016-09-17 23:57:12 -07:00
Paulus Schoutsen e19a092934 Update Docker to use Python 3.5 () 2016-09-17 23:32:11 -07:00
Nolan Gilley a94e8f48e0 Install mysqlclient and psycopg2 ()
I don't know if this is the right place for this, but I'm tired of having to install mysqlclient or psycopg2 after every docker update if I want to use mysql of postgres.
2016-07-30 10:30:14 -07:00
Paulus Schoutsen 225a672a92 Fix Dockerfile 2016-05-21 17:03:46 -07:00
Paulus Schoutsen a68ab07e72 Another attempt to fix SSL in Docker 2016-05-21 16:23:03 -07:00
Lewis Juggins 96b73684eb Update Dockerfile to use OpenSSL 1.0.2h to resolve certificate issues () 2016-05-13 07:55:52 -07:00
Paulus Schoutsen 177d0c20d9 Add bluepy package dependency to Dockerfile 2016-04-19 08:49:05 -07:00
Paulus Schoutsen fcbeafc6db Update Dockerfile: link Z-Wave config 2016-02-29 23:15:14 -08:00
Paulus Schoutsen 2d2b26ff1a Update Dockerfile 2016-02-28 21:08:11 -08:00
Paulus Schoutsen 029094e549 Docker + Z-Wave <3 2016-02-28 20:46:16 -08:00
Flyte 9233449551 Add colorlog to Dockerfile 2016-02-13 20:53:15 +00:00
Paulus Schoutsen d141306493 Update Dockerfile to depend on Python 3.4 instead of latest 2015-11-23 20:42:32 -08:00
Allan Glen 09a82dedf0 Re-order Dockerfile for faster rebuild on code changes 2015-11-23 11:58:59 -07:00
Paulus Schoutsen 83e6c24f18 Re-enable Z-Wave for Docker 2015-10-24 11:36:34 -07:00
Paulus Schoutsen b41706efe3 Make nmap work in Docker 2015-08-31 22:01:45 -07:00
Paulus Schoutsen f016dec02a Update Dockerfile for new pip requirements 2015-08-29 23:02:36 -07:00
Paulus Schoutsen 3b982e25a5 Remove broken Z-Wave support build from Docker 2015-08-22 23:32:09 -07:00
Paulus Schoutsen 36feb7f50a Remove unneeded dependencies from Dockerfile 2015-03-15 16:00:03 -07:00
Paulus Schoutsen e7b9b86c64 Get Z-Wave sensors to work with Home Assistant 2015-02-28 20:27:42 -08:00
Paulus Schoutsen 9c61c281ca Working zwave!
Open docker, go to /usr/src/balloob-python-openzwave/examples, run
python3 api_demo.py --device=/zwaveusbstick --log=Debug
2015-02-28 20:27:42 -08:00
Paulus Schoutsen bb5e8e00dd Get python-openzwave working in Docker 2015-02-28 20:27:41 -08:00
Paulus Schoutsen ed1f434a61 Updated docker container instructions 2015-01-05 21:02:43 -08:00
Paulus Schoutsen 9f24101348 Refactor __main__ to use ArgParse 2014-11-05 07:58:20 -08:00
Paulus Schoutsen 94d9cbf76e Starting home assistant is now done via __main__.py 2014-11-02 17:27:32 -08:00
Paulus Schoutsen d56edd46bb Phue: Switched to GIT-version because pip version lacks behind 2014-11-02 16:22:59 -08:00
Paulus Schoutsen b4de063e76 Update docker file, node no longer installed 2014-10-24 23:10:29 -07:00
Paulus Schoutsen 55f85f59d9 Fix the Dockerfile 2014-10-22 08:20:09 -07:00
Paulus Schoutsen 8ef3009cc7 Better temporary phue Docker fix 2014-09-27 07:02:55 -07:00
Paulus Schoutsen 05e6ac8c1f Use git/master for phue while waiting for new release 2014-09-26 18:44:53 -07:00
Paulus Schoutsen 8abe473e53 Docker registry apparently does git clone --recursive 2014-09-24 23:18:10 -05:00
Paulus Schoutsen a5976b7c6f Dockerfile initialized git submodules wrongly 2014-09-24 22:59:18 -05:00
Paulus Schoutsen e8a5fa1413 Dockerfile integrated in main repo 2014-09-24 22:36:52 -05:00