Support hass-release inside devcontainer (#25090)

This commit is contained in:
Pascal Vizeli committed 2019-07-12 07:18:31 +00:00
1 parent 3b6b421152
commit cc7b65a6c8
2 files changed
+19 -2

No files matched your search

+15 -2
View File
@@ -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