chore: Update Dockerfile to install additional system dependencies and upgrade pip tooling

This commit is contained in:
2026-05-11 16:17:56 +08:00
parent d513c691f5
commit 398ac49e52
3 changed files with 74 additions and 1 deletions
+30
View File
@@ -0,0 +1,30 @@
# Changelog
All notable changes to this project will be documented in this file.
## [v0.1.21] - 2026-05-11
Released: https://github.com/furyhawk/listen/releases/tag/v0.1.21
### Added
- Implement IoT logging endpoint and related models/schemas. (commit: 255a6f0)
- Update IoT endpoint and tests for improved functionality and type hints. (commit: 38e71f8)
- Add date range tests for pressure and humidity search endpoints. (commit: ce6734d)
- Add VSCode settings for pytest and create AGENTS.md for AI coding guidance. (commit: d8fef06)
### Changed
- Update README with new live example URL and add isort to development dependencies. (commit: 7ab3fa8)
- Bump dependency groups and various dependency updates across the repo. (multiple commits)
- Improve code formatting and organization in test files and migration scripts. (commit: 63e946f)
### Misc
- Merge dependency and workflow updates from dependabot and maintenance PRs. (multiple commits)
- Chore: add development and testing dependencies to `requirements-dev.txt`. (commit: b530a35)
## [Unreleased]
- (future changes go here)
+17 -1
View File
@@ -1,4 +1,4 @@
FROM python:3.15.0a8-slim-bookworm as base
FROM python:3.14-slim-bookworm as base
ENV PYTHONUNBUFFERED 1
WORKDIR /build
@@ -14,6 +14,22 @@ COPY --from=deps /requirements.txt .
# Create venv, add it to path and install requirements
RUN python -m venv /venv
ENV PATH="/venv/bin:$PATH"
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
curl \
build-essential \
libpq-dev \
libffi-dev \
python3-dev \
&& rm -rf /var/lib/apt/lists/*
&& rm -rf /var/lib/apt/lists/*
# Ensure pip/setuptools/wheel and Rust toolchain helpers are up-to-date so
# binary wheels are preferred and building from source can succeed when needed.
# Upgrade pip and wheel tooling so prebuilt wheels are preferred
RUN pip install --upgrade pip setuptools wheel
# Install Python dependencies (will build wheels if prebuilt wheels are unavailable)
RUN pip install -r requirements.txt
# Install uvicorn server
+27
View File
@@ -0,0 +1,27 @@
Release v0.1.21
Changes since v0.1.20:
- d513c69 your message
- c01b419 Merge pull request #86 from furyhawk/dependabot/pip/all-dependencies-242ef55d95
- 7ab3fa8 feat: Update README with new live example URL and add isort to development dependencies
- debec44 chore(deps): Bump the all-dependencies group across 1 directory with 16 updates
- 63e946f refactor: Improve code formatting and organization in test files and migration scripts
- 38e71f8 feat: Update IoT endpoint and tests for improved functionality and type hints
- 255a6f0 feat: Implement IoT logging endpoint and related models/schemas
- ce6734d feat: Add date range tests for pressure and humidity search endpoints
- b530a35 chore: Add development and testing dependencies to requirements-dev.txt
- d8fef06 Add VSCode settings for pytest and create AGENTS.md for AI coding guidance
- 773dedd Merge pull request #82 from furyhawk/dependabot/github_actions/docker/login-action-4
- 9f8ac44 Merge pull request #84 from furyhawk/dependabot/github_actions/docker/setup-qemu-action-4
- e638924 Merge pull request #83 from furyhawk/dependabot/docker/python-3.15.0a8-slim-bookworm
- 2c8f0a4 chore(deps): Bump docker/setup-qemu-action from 3 to 4
- 325360e chore(deps): Bump docker/login-action from 3 to 4
- e064423 chore(deps): Bump python
- 13a7999 Merge pull request #80 from furyhawk/dependabot/pip/all-dependencies-f44031ab6e
- 0e578a3 chore: merge main into PR branch, resolving conflicts
- 56353bb chore(deps): Bump the all-dependencies group across 1 directory with 50 updates
Notes:
- Tag `v0.1.21` created at HEAD and pushed to origin.
- Please verify CI artifacts if needed.