Files
SpecterOps-Nemesis/infra/docker/python_base/dev.Dockerfile
T
Lee Chagolla-Christensen b5b00ca72a Migrate to uv from poetry (#99)
* initial uv migration

* update github workflows

* use python module not system commands

* remove poetry references

* fix uv in prod images

---------

Co-authored-by: Lee Chagolla-Christensen <lee@localhost>
2026-01-14 15:20:31 -08:00

18 lines
500 B
Docker

# This is the development image for python projects
# It is a slim image with dev tools/programs installed
FROM python:3.12.3-slim
RUN apt-get update && \
apt-get install --no-install-suggests --no-install-recommends --yes \
wget curl procps net-tools htop jq iputils-ping git && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# Install uv from official image
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
ENV UV_LINK_MODE=copy \
UV_COMPILE_BYTECODE=1
WORKDIR /src