Skip to content

Commit

Permalink
Don't store uv's lockfile in hassfest image (home-assistant#135214)
Browse files Browse the repository at this point in the history
  • Loading branch information
edenhaus authored Jan 10, 2025
1 parent 39aa033 commit 560d15e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions script/hassfest/docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@
# 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 \
Expand Down
2 changes: 2 additions & 0 deletions script/hassfest/docker/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 560d15e

Please sign in to comment.