initial commit

This commit is contained in:
2026-01-24 13:48:00 +01:00
commit a20074360c
5 changed files with 187 additions and 0 deletions

25
Dockerfile Normal file
View File

@@ -0,0 +1,25 @@
# Force x86_64 architecture for full PlatformIO compatibility
FROM --platform=linux/amd64 python:3.11-slim
# Install system dependencies
RUN apt-get update && apt-get install -y \
git \
curl \
build-essential \
usbutils \
&& rm -rf /var/lib/apt/lists/*
# Install PlatformIO
RUN pip install --no-cache-dir platformio
# Set working directory
WORKDIR /project
# Copy configuration files
COPY platformio.ini .
# Pre-download platforms and tools (optional, speeds up subsequent builds)
RUN pio pkg install --skip-dependencies || true
# Default command
CMD ["pio", "run"]