add some code

This commit is contained in:
2025-09-05 13:25:11 +08:00
parent 9ff0a99e7a
commit 3cf1229a85
8911 changed files with 2535396 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
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