try to fix gha apt error

This commit is contained in:
ThePhaseless 2025-02-20 21:34:07 +00:00
parent 7590d47936
commit 69944ca7cc

View File

@ -15,9 +15,15 @@ ENV \
DISPLAY=:0 DISPLAY=:0
WORKDIR /app WORKDIR /app
RUN rm /var/lib/dpkg/info/libc-bin.*
RUN apt-get clean
RUN apt-get update
RUN apt-get install libc-bin
RUN apt update &&\ RUN apt update &&\
apt upgrade -y &&\ apt upgrade -y &&\
apt install -y --no-install-recommends --no-install-suggests xauth xvfb scrot libc-bin curl chromium chromium-driver ca-certificates apt install -y --no-install-recommends --no-install-suggests xauth xvfb scrot curl chromium chromium-driver ca-certificates
RUN curl -LsSf https://astral.sh/uv/install.sh | sh RUN curl -LsSf https://astral.sh/uv/install.sh | sh
COPY pyproject.toml uv.lock ./ COPY pyproject.toml uv.lock ./
RUN uv sync RUN uv sync