Don't store uv's lockfile in hassfest image (#135214)

This commit is contained in:
Robert Resch
2025-01-10 21:15:44 +01:00
committed by GitHub
parent 39aa0339ac
commit 560d15effb
2 changed files with 4 additions and 0 deletions

View File

@@ -94,6 +94,8 @@ COPY . /usr/src/homeassistant
# Uv is only needed during build
RUN --mount=from=ghcr.io/astral-sh/uv:{uv},source=/uv,target=/bin/uv \
# Uv creates a lock file in /tmp
--mount=type=tmpfs,target=/tmp \
# Required for PyTurboJPEG
apk add --no-cache libturbojpeg \
&& uv pip install \

View File

@@ -15,6 +15,8 @@ COPY . /usr/src/homeassistant
# Uv is only needed during build
RUN --mount=from=ghcr.io/astral-sh/uv:0.5.8,source=/uv,target=/bin/uv \
# Uv creates a lock file in /tmp
--mount=type=tmpfs,target=/tmp \
# Required for PyTurboJPEG
apk add --no-cache libturbojpeg \
&& uv pip install \