mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-09 20:27:41 +08:00
25 lines
531 B
Docker
25 lines
531 B
Docker
FROM --platform=linux/amd64 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 | tr -d '\r' | 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
|