diff --git a/docker/android/Dockerfile b/docker/android/Dockerfile index 8920b11..61b04e6 100644 --- a/docker/android/Dockerfile +++ b/docker/android/Dockerfile @@ -45,6 +45,13 @@ ENV DEBIAN_FRONTEND=noninteractive \ # --------------------------------------------------------------------------- RUN apt-get update && apt-get install -y --no-install-recommends \ ca-certificates curl unzip git \ + # git-lfs: the segmentation model is in LFS, and a plain `git` leaves a + # 133-byte pointer where 11 MB of weights should be. Without this the + # CI fetch step dies on `git: 'lfs' is not a git command` and the build + # then panics in dr-segment's build script -- a clear message about a + # missing `git lfs pull` that no amount of pulling would have fixed, + # because the client was never here to run. + git-lfs \ # zip: package.sh adds the .so and dex to the aapt2-linked APK zip \ openjdk-${JDK_VERSION}-jdk-headless \