File: Dockerfile.dev

package info (click to toggle)
pyatmo 9.2.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,292 kB
  • sloc: python: 4,474; makefile: 3
file content (23 lines) | stat: -rw-r--r-- 657 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
ARG VARIANT="3.11"

FROM mcr.microsoft.com/vscode/devcontainers/python:0-${VARIANT}

SHELL ["/bin/bash", "-o", "pipefail", "-c"]

WORKDIR /workspaces

# Install Python dependencies from requirements
RUN pip3 install --upgrade pip \
    && pip3 install uv \
    && pip3 install pdbpp \
    && pip3 install pre-commit \
    && pip3 install time-machine \
    && pip3 install pytest-cov \
    && pip3 install anyio

# Remove any old pytest versions that might conflict
RUN python3 -m pip install --upgrade --force-reinstall pytest \
    && rm -rf /usr/local/py-utils/venvs/pytest/bin/pytest

# Set the default shell to bash instead of sh
ENV SHELL="/bin/bash"