Skip to content

Commit

Permalink
Remove unused i386 code in Dockerfile (home-assistant#126520)
Browse files Browse the repository at this point in the history
  • Loading branch information
edenhaus authored Sep 23, 2024
1 parent df0c806 commit 52de26e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 18 deletions.
12 changes: 3 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,9 @@ RUN \
if ls homeassistant/home_assistant_*.whl 1> /dev/null 2>&1; then \
uv pip install homeassistant/home_assistant_*.whl; \
fi \
&& if [ "${BUILD_ARCH}" = "i386" ]; then \
linux32 uv pip install \
--no-build \
-r homeassistant/requirements_all.txt; \
else \
uv pip install \
--no-build \
-r homeassistant/requirements_all.txt; \
fi
&& uv pip install \
--no-build \
-r homeassistant/requirements_all.txt

## Setup Home Assistant Core
COPY . homeassistant/
Expand Down
12 changes: 3 additions & 9 deletions script/hassfest/docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,9 @@
if ls homeassistant/home_assistant_*.whl 1> /dev/null 2>&1; then \
uv pip install homeassistant/home_assistant_*.whl; \
fi \
&& if [ "${{BUILD_ARCH}}" = "i386" ]; then \
linux32 uv pip install \
--no-build \
-r homeassistant/requirements_all.txt; \
else \
uv pip install \
--no-build \
-r homeassistant/requirements_all.txt; \
fi
&& uv pip install \
--no-build \
-r homeassistant/requirements_all.txt
## Setup Home Assistant Core
COPY . homeassistant/
Expand Down

0 comments on commit 52de26e

Please sign in to comment.