Files
xiaozhi-esp32/managed_components/lvgl__lvgl/tests/Dockerfile
2025-09-05 13:25:11 +08:00

25 lines
495 B
Docker

FROM ubuntu:24.04
ENV DEBIAN_FRONTEND=noninteractive
RUN dpkg --add-architecture i386
RUN apt update
COPY ./scripts/prerequisites-apt.txt .
COPY ./scripts/prerequisites-pip.txt .
RUN cat prerequisites-apt.txt | xargs apt install -y
RUN pip install --break-system-packages -r prerequisites-pip.txt
RUN git clone https://github.com/kornelski/pngquant && \
cd pngquant && \
git checkout 2.17.0 && \
./configure && \
make -j$(nproc) && \
make install
RUN rm -rf pngquant
WORKDIR /work