From e8a09b7537ef285a967f24add05fdb9bb557b97e Mon Sep 17 00:00:00 2001 From: Junyan Qin Date: Fri, 24 Jul 2026 19:29:14 +0800 Subject: [PATCH] fix(build): install git for pinned SDK --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 99fce8f2b..fb88c9151 100644 --- a/Dockerfile +++ b/Dockerfile @@ -38,7 +38,7 @@ COPY --from=node /app/web/dist ./web/dist COPY --from=nsjail-build /usr/local/bin/nsjail /usr/local/bin/nsjail RUN apt-get update \ - && apt-get install -y --no-install-recommends gcc ca-certificates curl gnupg \ + && apt-get install -y --no-install-recommends gcc ca-certificates curl git gnupg \ # nsjail runtime libraries (the build toolchain stays in the nsjail-build # stage; only these shared libs are needed to execute the binary). && apt-get install -y --no-install-recommends libprotobuf32 libnl-route-3-200 \ @@ -63,8 +63,8 @@ RUN apt-get update \ && rm -f /tmp/nodesource_setup.sh \ && python -m pip install --no-cache-dir uv \ && uv sync \ - && apt-get purge -y --auto-remove curl gnupg \ + && apt-get purge -y --auto-remove curl git gnupg \ && rm -rf /var/lib/apt/lists/* \ && touch /.dockerenv -CMD [ "uv", "run", "--no-sync", "main.py" ] \ No newline at end of file +CMD [ "uv", "run", "--no-sync", "main.py" ]