Add initial support for remote dev container (#24681)
* Add initial support for remote container * Use constrain
This commit is contained in:
1 parent
dc6a44d0eb
commit
a807572382
3 files changed
+32
-1
No files matched your search
@@ -0,0 +1,17 @@
|
||||
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 \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /workspace
|
||||
|
||||
# Install Python dependencies from requirements.txt if it exists
|
||||
COPY requirements_test_all.txt homeassistant/package_constraints.txt /workspace/
|
||||
RUN pip3 install -r requirements_test_all.txt -c package_constraints.txt
|
||||
|
||||
# Set the default shell to bash instead of sh
|
||||
ENV SHELL /bin/bash
|
||||
Reference in new issue
Block a user