forked from MarkGodwin/tplink-omada-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.dev
More file actions
25 lines (20 loc) · 782 Bytes
/
Dockerfile.dev
File metadata and controls
25 lines (20 loc) · 782 Bytes
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
FROM mcr.microsoft.com/devcontainers/python:1-3.13
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
git \
cmake \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /workspaces
# Install Python dependencies from requirements
COPY requirements.txt ./
COPY requirements_test.txt ./
RUN pip3 install -r requirements.txt
RUN pip3 install -r requirements_test.txt
RUN rm -f requirements.txt requirements_test.txt
# Set the default shell to bash instead of sh
ENV SHELL /bin/bash