Improve startup of devcontainer (#26572)
This commit is contained in:
@@ -24,9 +24,9 @@ RUN git clone --depth 1 https://github.com/home-assistant/hass-release \
|
||||
WORKDIR /workspaces
|
||||
|
||||
# Install Python dependencies from requirements
|
||||
COPY requirements_test_all.txt homeassistant/package_constraints.txt ./
|
||||
RUN pip3 install -r requirements_test_all.txt -c package_constraints.txt \
|
||||
&& rm -f requirements_test_all.txt package_constraints.txt
|
||||
COPY requirements_test.txt homeassistant/package_constraints.txt ./
|
||||
RUN pip3 install -r requirements_test.txt -c package_constraints.txt \
|
||||
&& rm -f requirements_test.txt package_constraints.txt
|
||||
|
||||
# Set the default shell to bash instead of sh
|
||||
ENV SHELL /bin/bash
|
||||
|
||||
Reference in New Issue
Block a user