diff --git a/nspanel-lovelace-ui/Dockerfile b/nspanel-lovelace-ui/Dockerfile index 9f3af230..5bf6895c 100644 --- a/nspanel-lovelace-ui/Dockerfile +++ b/nspanel-lovelace-ui/Dockerfile @@ -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"] @@ -18,24 +12,16 @@ COPY requirements.txt /tmp/ # hadolint ignore=DL3003,DL3042 RUN \ apk add --no-cache --virtual .build-dependencies \ - build-base=0.5-r3 \ - python3-dev=3.11.6-r0 \ + build-base=0.5-r3 \ + python3-dev=3.11.6-r0 \ \ && apk add --no-cache \ - py3-pip=23.1.2-r0 \ - py3-wheel=0.40.0-r1 \ - python3=3.11.6-r0 \ + py3-pip=23.1.2-r0 \ + py3-wheel=0.40.0-r1 \ + python3=3.11.6-r0 \ \ && 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