File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ FROM debian:bookworm-slim
1313
1414# Pre-install all common runtimes and tools at build time (as root)
1515RUN apt-get update && apt-get install -y --no-install-recommends \
16- ca-certificates git git-lfs curl wget unzip libssl3 libssl-dev pkg-config sudo openssh-client \
16+ ca-certificates git curl wget unzip libssl3 libssl-dev pkg-config sudo openssh-client \
1717 python3 python3-pip python3-venv python3-dev \
1818 build-essential gcc g++ make cmake autoconf automake libtool \
1919 default-jdk maven gradle \
@@ -24,7 +24,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
2424 imagemagick libmagickwand-dev \
2525 jq \
2626 && ln -sf /usr/bin/python3 /usr/bin/python \
27- && git lfs install \
2827 && rm -rf /var/lib/apt/lists/*
2928
3029# Install Go 1.23 (Debian bookworm ships 1.19 which is too old for most projects)
Original file line number Diff line number Diff line change @@ -222,6 +222,7 @@ impl HuggingFaceClient {
222222 . args ( [ "clone" , "--depth" , "1" ] )
223223 . arg ( & repo_url)
224224 . arg ( cache_dir. as_os_str ( ) )
225+ . env ( "GIT_LFS_SKIP_SMUDGE" , "1" )
225226 . stdout ( std:: process:: Stdio :: piped ( ) )
226227 . stderr ( std:: process:: Stdio :: piped ( ) )
227228 . output ( )
You can’t perform that action at this time.
0 commit comments