mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-23 16:04:25 +01:00
fix dockerfile
This commit is contained in:
@@ -2,12 +2,6 @@
|
||||
ARG BUILD_FROM
|
||||
FROM $BUILD_FROM
|
||||
|
||||
# Execute during the build of the image
|
||||
ARG TEMPIO_VERSION BUILD_ARCH
|
||||
RUN \
|
||||
curl -sSLf -o /usr/bin/tempio \
|
||||
"https://github.com/home-assistant/tempio/releases/download/${TEMPIO_VERSION}/tempio_${BUILD_ARCH}"
|
||||
|
||||
# Set shell
|
||||
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||
|
||||
@@ -28,14 +22,6 @@ RUN \
|
||||
\
|
||||
&& pip install -r /tmp/requirements.txt \
|
||||
\
|
||||
&& cd /usr/lib/python3.11/site-packages/ \
|
||||
&& patch -p1 < /patches/force_recompile.patch \
|
||||
\
|
||||
&& find /usr \
|
||||
\( -type d -a -name test -o -name tests -o -name '__pycache__' \) \
|
||||
-o \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
|
||||
-exec rm -rf '{}' + \
|
||||
\
|
||||
&& apk del --no-cache --purge .build-dependencies
|
||||
|
||||
# Copy root filesystem
|
||||
|
||||
Reference in New Issue
Block a user