We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1532162 commit ab7e225Copy full SHA for ab7e225
Dockerfile
@@ -22,8 +22,14 @@ RUN chmod +x /entrypoint.sh ;\
22
add-apt-repository ppa:git-core/ppa ;\
23
apt-get update -y ;\
24
apt-get install --no-install-recommends -y \
25
- git \
26
- git-lfs ;\
+ git ;\
+ # Install git-lfs without post-install configuration to avoid dpkg errors
27
+ apt-get download git-lfs ;\
28
+ dpkg --unpack git-lfs*.deb ;\
29
+ rm -f /var/lib/dpkg/info/git-lfs.postinst ;\
30
+ dpkg --configure git-lfs ;\
31
+ apt-get install -f ;\
32
+ rm git-lfs*.deb ;\
33
apt-get clean ;\
34
rm -rf /var/lib/apt/lists/*
35
0 commit comments