Don't store uv's lockfile in hassfest image (#135214)
parent
39aa0339ac
commit
560d15effb
|
@ -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 \
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue