diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 43d916a2..c27462f7 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -18,7 +18,7 @@ COPY --from=ghcr.io/kyverno/kyverno-cli:v1.12.1 /ko-app/kubectl-kyverno COPY --from=docker.io/alpine/helm:3.14.4 /usr/bin/helm /usr/local/bin/helm COPY --from=ghcr.io/fluxcd/flux-cli:v2.2.3 /usr/local/bin/flux /usr/local/bin/flux -COPY requirements.txt /src/ -RUN pip3 install -r /src/requirements.txt +COPY requirements_dev.txt /src/ +RUN pip3 install -r /src/requirements_dev.txt SHELL ["/bin/bash", "-c"] diff --git a/Dockerfile b/Dockerfile index b8da83cb..bb9d93b1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,12 +3,10 @@ FROM python:3.12-alpine as base RUN apk add --no-cache ca-certificates git WORKDIR /app -COPY requirements.txt /requirements.txt COPY flux_local/ ./flux_local COPY setup.py . COPY setup.cfg . -RUN pip install --no-cache-dir -r /requirements.txt RUN pip install -e . COPY --from=ghcr.io/fluxcd/flux-cli:v2.2.3 /usr/local/bin/flux /usr/local/bin/flux diff --git a/requirements.txt b/requirements.txt index 978764e1..863ea8df 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,23 +1,10 @@ +-e . aiofiles==23.2.1 -black==24.4.2 -coverage==7.5.1 GitPython==3.1.43 mashumaro==3.13 -mypy==1.10.0 nest_asyncio==1.6.0 -pdoc==14.4.0 -pip==24.0 -pre-commit==3.7.1 pytest==8.2.0 pytest-asyncio==0.23.6 pytest-cov==5.0.0 python-slugify==8.0.4 PyYAML==6.0.1 -ruff==0.4.4 -types-aiofiles==23.2.0.20240403 -types-PyYAML==6.0.12.20240311 -typing-extensions==4.11.0 -types-python-slugify==8.0.2.20240310 -wheel==0.43.0 -yamllint==1.35.1 -syrupy==4.6.1