chore: initialize containerized Python learning workbook (2026 DevOps/SRE)
This commit is contained in:
commit
ae4c421815
63 files changed
+1273
No files matched your search
@@ -0,0 +1,19 @@
|
||||
FROM docker.io/library/python:3.12-slim
|
||||
|
||||
ENV PYTHONDONTWRITEBYTECODE=1 \
|
||||
PYTHONUNBUFFERED=1 \
|
||||
UV_SYSTEM_PYTHON=1
|
||||
|
||||
RUN pip install --no-cache-dir uv && \
|
||||
uv pip install --system --no-cache \
|
||||
pytest \
|
||||
ruff \
|
||||
mypy \
|
||||
pydantic \
|
||||
fastapi \
|
||||
httpx \
|
||||
typer \
|
||||
pyyaml \
|
||||
types-PyYAML
|
||||
|
||||
WORKDIR /workspace
|
||||
Reference in new issue
Block a user