ADD file:d261a6f6921593f1e0b3f472ab1b1822e2c6deb0b369200f0b3370556bfad017 in / |
CMD ["bash"] |
ARG TARGETARCH |
ARG TARGETARCH TARGETVARIANT |
|2 TARGETARCH=amd64 TARGETVARIANT= /bin/sh -c apt-get update && apt-get install -y --no-install-recommends python3-pip=23.0.1+dfsg-1 python3-setuptools=66.1.1-1 python3-venv=3.11.2-1+b1 python3-wheel=0.38.4-2 iputils-ping=3:20221126-1 git=1:2.39.5-0+deb12u1 curl=7.88.1-10+deb12u7 openssh-client=1:9.2p1-2+deb12u3 python3-cffi=1.15.1-5 libcairo2=1.16.0-7 libmagic1=1:5.44-3 patch=2.7.6-7 && ( ( [ "$TARGETARCH$TARGETVARIANT" = "armv7" ] && apt-get install -y --no-install-recommends build-essential=12.9 python3-dev=3.11.2-1+b1 zlib1g-dev=1:1.2.13.dfsg-1 libjpeg-dev=1:2.1.5-2 libfreetype-dev=2.12.1+dfsg-5+deb12u3 libssl-dev=3.0.14-1~deb12u2 libffi-dev=3.4.4-1 libopenjp2-7=2.5.0-2 libtiff6=4.5.0-6+deb12u1 cargo=0.66.0+ds1-1 pkg-config=1.8.1-1 gcc-arm-linux-gnueabihf=4:12.2.0-3 ) || [ "$TARGETARCH$TARGETVARIANT" != "armv7" ] ) && rm -rf /tmp/* /var/{cache,log}/* /var/lib/apt/lists/* |
ENV LANG=C.UTF-8 LC_ALL=C.UTF-8 PLATFORMIO_GLOBALLIB_DIR=/piolibs |
|2 TARGETARCH=amd64 TARGETVARIANT= /bin/sh -c if [ "$TARGETARCH$TARGETVARIANT" = "armv7" ]; then ln -s /lib/arm-linux-gnueabihf/ld-linux-armhf.so.3 /lib/ld-linux.so.3; fi |
|2 TARGETARCH=amd64 TARGETVARIANT= /bin/sh -c if [ "$TARGETARCH$TARGETVARIANT" = "armv7" ]; then export PIP_EXTRA_INDEX_URL="https://www.piwheels.org/simple"; fi; pip3 install --break-system-packages --no-cache-dir platformio==6.1.16 && platformio settings set enable_telemetry No && platformio settings set check_platformio_interval 1000000 && mkdir -p /piolibs |
COPY multi:31cf8a8067c8ffd9b182865721e0a398c67ffcb6f6971956e4506cf23e85ae58 in / |
|2 TARGETARCH=amd64 TARGETVARIANT= /bin/sh -c --mount=type=tmpfs,target=/root/.cargo if [ "$TARGETARCH$TARGETVARIANT" = "armv7" ]; then curl -L https://www.piwheels.org/cp311/cryptography-43.0.0-cp37-abi3-linux_armv7l.whl -o /tmp/cryptography-43.0.0-cp37-abi3-linux_armv7l.whl && pip3 install --break-system-packages --no-cache-dir /tmp/cryptography-43.0.0-cp37-abi3-linux_armv7l.whl && rm /tmp/cryptography-43.0.0-cp37-abi3-linux_armv7l.whl && export PIP_EXTRA_INDEX_URL="https://www.piwheels.org/simple"; fi; CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse CARGO_HOME=/root/.cargo pip3 install --break-system-packages --no-cache-dir -r /requirements.txt -r /requirements_optional.txt |
COPY multi:6aed580a3f972bf056ccfe17cc9f559feae7d378469a3f276e6a4cb8e7d4f036 in / |
|2 TARGETARCH=amd64 TARGETVARIANT= /bin/sh -c /platformio_install_deps.py /platformio.ini --libraries |
|2 TARGETARCH=amd64 TARGETVARIANT= /bin/sh -c git config --system --add safe.directory '*' |
COPY dir:e2c0e30b994570ec5651610fa9d5f245279e955c41a5cb095fade54c9dd10bd7 in /esphome |
/bin/sh -c if [ "$TARGETARCH$TARGETVARIANT" = "armv7" ]; then export PIP_EXTRA_INDEX_URL="https://www.piwheels.org/simple"; fi; pip3 install --break-system-packages --no-cache-dir -e /esphome |
ENV USERNAME="" PASSWORD="" |
EXPOSE 6052 |
HEALTHCHECK --interval=30s --timeout=30s CMD curl --fail http://localhost:6052/version -A "HealthCheck" || exit 1 |
COPY file:1fcd64f3965ee88dd25aab0b61072eeae9529c57d5d18b241e0713d9bcdb5efd in /entrypoint.sh |
VOLUME /config |
WORKDIR /config |
ENTRYPOINT ["/entrypoint.sh"] |
CMD ["dashboard", "/config"] |