mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Improve development workflow in docker (#5079)
* 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.
This commit is contained in:
committed by
Paulus Schoutsen
parent
b2371c6614
commit
c864ea60c9
@@ -1,5 +1,8 @@
|
||||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
# Excutes the tests with tox in a docker container.
|
||||
|
||||
# Stop on errors
|
||||
set -e
|
||||
|
||||
docker build -t home-assistant-test -f virtualization/Docker/Dockerfile.test .
|
||||
docker run --rm -it home-assistant-test tox -e py34
|
||||
docker build -t home-assistant-test -f virtualization/Docker/Dockerfile.dev .
|
||||
docker run --rm -it home-assistant-test tox -e py35
|
||||
|
||||
Reference in New Issue
Block a user