feat(test): add Dockerfile support with CI env (#8209)

This commit is contained in:
André Costa
2025-05-12 20:00:43 +02:00
committed by GitHub
parent 037ddc7045
commit e0b65f78cc
5 changed files with 94 additions and 17 deletions
+24
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