Fix cloning error in automatic1111 service dockerfile

Fix this error I got while cloning stability-ai repo
```
0.112 Initialized empty Git repository in /repositories/stable-diffusion-stability-ai/.git/
0.112 + git remote add origin https://github.com/Stability-AI/stablediffusion.git
0.113 + git fetch origin cf1d67a6fd5ea1aa600c4df58e5b47da45f6bdbf '--depth=1'
90.31 error: 1485 bytes of body are still expected
90.31 fetch-pack: unexpected disconnect while reading sideband packet
90.31 fatal: early EOF
90.31 fatal: fetch-pack: invalid index-pack output```
This commit is contained in:
Joaquin Bogado 2024-09-02 16:59:01 -03:00 committed by GitHub
parent 802d0bcd68
commit b79684d2f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,6 +2,9 @@ FROM alpine/git:2.36.2 as download
COPY clone.sh /clone.sh
RUN git config --global http.version HTTP/1.1
RUN git config --global http.postBuffer 157286400
RUN . /clone.sh stable-diffusion-webui-assets https://github.com/AUTOMATIC1111/stable-diffusion-webui-assets.git 6f7db241d2f8ba7457bac5ca9753331f0c266917
RUN . /clone.sh stable-diffusion-stability-ai https://github.com/Stability-AI/stablediffusion.git cf1d67a6fd5ea1aa600c4df58e5b47da45f6bdbf \