Toggle navigation
Toggle navigation
This project
Loading...
Sign in
万朱浩
/
Venue-Ops
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
马一丁
2025-11-25 10:10:19 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6c145399fecb976d46d10f52e0c08435d31f7629
6c145399
1 parent
49cda6d8
Update Dockerfile
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
Dockerfile
Dockerfile
View file @
6c14539
...
...
@@ -10,7 +10,14 @@ ENV PYTHONDONTWRITEBYTECODE=1 \
PLAYWRIGHT_BROWSERS_PATH=/ms-playwright
# Install system dependencies required by scientific Python stack, Playwright, Streamlit, and WeasyPrint PDF
RUN apt-get update && apt-get install -y --no-install-recommends \
RUN set -euo pipefail; \
apt-get update; \
if apt-cache show libgdk-pixbuf-2.0-0 >/dev/null 2>&1; then \
GDK_PIXBUF_PKG=libgdk-pixbuf-2.0-0; \
else \
GDK_PIXBUF_PKG=libgdk-pixbuf2.0-0; \
fi; \
apt-get install -y --no-install-recommends \
build-essential \
curl \
git \
...
...
@@ -20,7 +27,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
libpango-1.0-0 \
libpangocairo-1.0-0 \
libpangoft2-1.0-0 \
libgdk-pixbuf2.0-0
\
"${GDK_PIXBUF_PKG}"
\
libffi-dev \
libcairo2 \
libatk1.0-0 \
...
...
@@ -39,8 +46,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
libx11-xcb1 \
libxshmfence1 \
libgbm1 \
ffmpeg \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
ffmpeg; \
apt-get clean; \
rm -rf /var/lib/apt/lists/*
# Install the latest uv release and expose it on PATH
RUN curl -LsSf --retry 3 --retry-delay 2 --proto '=https' --proto-redir '=https' --tlsv1.2 https://astral.sh/uv/install.sh | sh
...
...
Please
register
or
login
to post a comment