diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 423f93f7ec963..8abf28cddff7e 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -2,11 +2,24 @@ FROM python:3.7 RUN apt-get update \ && apt-get install -y --no-install-recommends \ - libudev-dev libavformat-dev libavcodec-dev libavdevice-dev \ - libavutil-dev libswscale-dev libswresample-dev libavfilter-dev \ + libudev-dev \ + libavformat-dev \ + libavcodec-dev \ + libavdevice-dev \ + libavutil-dev \ + libswscale-dev \ + libswresample-dev \ + libavfilter-dev \ + git \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* +WORKDIR /usr/src + +RUN git clone --depth 1 https://github.com/home-assistant/hass-release \ + && cd hass-release \ + && pip3 install -e . + WORKDIR /workspace # Install Python dependencies from requirements.txt if it exists diff --git a/.gitignore b/.gitignore index 4ab6ebd4a48ea..9c3afdd909157 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,10 @@ config2/* tests/testing_config/deps tests/testing_config/home-assistant.log +# hass-release +data/ +.token + # Hide sublime text stuff *.sublime-project *.sublime-workspace