mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 09:47:13 +00:00
Support hass-release inside devcontainer (#25090)
This commit is contained in:
parent
6173d7c8a0
commit
60fe4c9ae0
@ -2,11 +2,24 @@ FROM python:3.7
|
|||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y --no-install-recommends \
|
&& apt-get install -y --no-install-recommends \
|
||||||
libudev-dev libavformat-dev libavcodec-dev libavdevice-dev \
|
libudev-dev \
|
||||||
libavutil-dev libswscale-dev libswresample-dev libavfilter-dev \
|
libavformat-dev \
|
||||||
|
libavcodec-dev \
|
||||||
|
libavdevice-dev \
|
||||||
|
libavutil-dev \
|
||||||
|
libswscale-dev \
|
||||||
|
libswresample-dev \
|
||||||
|
libavfilter-dev \
|
||||||
|
git \
|
||||||
&& apt-get clean \
|
&& apt-get clean \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& 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
|
WORKDIR /workspace
|
||||||
|
|
||||||
# Install Python dependencies from requirements.txt if it exists
|
# Install Python dependencies from requirements.txt if it exists
|
||||||
|
4
.gitignore
vendored
4
.gitignore
vendored
@ -4,6 +4,10 @@ config2/*
|
|||||||
tests/testing_config/deps
|
tests/testing_config/deps
|
||||||
tests/testing_config/home-assistant.log
|
tests/testing_config/home-assistant.log
|
||||||
|
|
||||||
|
# hass-release
|
||||||
|
data/
|
||||||
|
.token
|
||||||
|
|
||||||
# Hide sublime text stuff
|
# Hide sublime text stuff
|
||||||
*.sublime-project
|
*.sublime-project
|
||||||
*.sublime-workspace
|
*.sublime-workspace
|
||||||
|
Loading…
x
Reference in New Issue
Block a user