-
Notifications
You must be signed in to change notification settings - Fork 52
Expand file tree
/
Copy pathDockerfile
More file actions
28 lines (20 loc) · 823 Bytes
/
Dockerfile
File metadata and controls
28 lines (20 loc) · 823 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
FROM python:3.14-slim
LABEL description="Docker Container with a build environment for Tasmota using pioarduino" \
version="15.0" \
maintainer="blakadder_" \
organization="https://github.com/tasmota"
# Copy uv binary from official image
COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv
# Environment variables for uv
ENV UV_SYSTEM_PYTHON=1
ENV UV_NO_CACHE=1
# Set GITHUB_ACTIONS to bypass internet connectivity check in penv_setup.py
ENV GITHUB_ACTIONS=true
# Install git
RUN apt-get update && apt-get install -y --no-install-recommends \
git && \
apt-get clean && rm -rf /var/lib/apt/lists/*
# Install pio core
RUN uv pip install https://github.com/pioarduino/platformio-core/archive/refs/tags/v6.1.19.zip
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/bin/bash", "/entrypoint.sh"]