FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
core/Dockerfile.dev at dev · phireside/core · GitHub
phireside
/
core
Public
forked from
home-assistant/core
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
core
/
Dockerfile.dev
Copy path
More file actions
More file actions
Latest commit
History
History
History
41 lines (34 loc) · 1.29 KB
Breadcrumbs
core
/
Dockerfile.dev
Copy path
File metadata and controls
41 lines (34 loc) · 1.29 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
FROM
mcr.microsoft.com/vscode/devcontainers/python:0-3.9
SHELL
[
"/bin/bash"
,
"-o"
,
"pipefail"
,
"-c"
]
RUN
\
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
#
Additional library needed by some tests and accordingly by VScode Tests Discovery
bluez \
libudev-dev \
libavformat-dev \
libavcodec-dev \
libavdevice-dev \
libavutil-dev \
libswscale-dev \
libswresample-dev \
libavfilter-dev \
libpcap-dev \
git \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
WORKDIR
/usr/src
#
Setup hass-release
RUN
git clone --depth 1 https://github.com/home-assistant/hass-release \
&& pip3 install -e hass-release/
WORKDIR
/workspaces
#
Install Python dependencies from requirements
COPY
requirements.txt ./
COPY
homeassistant/package_constraints.txt homeassistant/package_constraints.txt
RUN
pip3 install -r requirements.txt
COPY
requirements_test.txt requirements_test_pre_commit.txt ./
RUN
pip3 install -r requirements_test.txt
RUN
rm -rf requirements.txt requirements_test.txt requirements_test_pre_commit.txt homeassistant/
#
Set the default shell to bash instead of sh
ENV
SHELL /bin/bash
Back
|
FazBrowse Home
|
New Git URL