Skip to content

Commit

Permalink
Support hass-release inside devcontainer (#25090)
Browse files Browse the repository at this point in the history
  • Loading branch information
pvizeli committed Jul 12, 2019
1 parent 6173d7c commit 60fe4c9
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .devcontainer/Dockerfile
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Expand Up @@ -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
Expand Down

0 comments on commit 60fe4c9

Please sign in to comment.