Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

I'm getting an error while building : ' is not a git command. See 'git --help'. #1

Open
emintatli opened this issue Jul 3, 2023 · 0 comments

Comments

@emintatli
Copy link

` => [internal] load .dockerignore                                                                                                                                                                      0.0s
 => => transferring context: 2B                                                                                                                                                                        0.0s
 => [internal] load build definition from Dockerfile                                                                                                                                                   0.0s
 => => transferring dockerfile: 1.47kB                                                                                                                                                                 0.0s
 => [internal] load metadata for docker.io/runpod/pytorch:3.10-2.0.0-117                                                                                                                               1.1s
 => [internal] load build context                                                                                                                                                                      0.0s
 => => transferring context: 425B                                                                                                                                                                      0.0s
 => [ 1/13] FROM docker.io/runpod/pytorch:3.10-2.0.0-117@sha256:2dbf81dd888d383620a486f83ad2ff47540c6cb5e02a61e74b8db03a715488d6                                                                       0.0s
 => CACHED [ 2/13] WORKDIR /workspace                                                                                                                                                                  0.0s
 => CACHED [ 3/13] RUN apt-get update &&     apt-get install -y --no-install-recommends apt-utils zstd python3.10-venv git-lfs unzip &&     apt clean && rm -rf /var/lib/apt/lists/* &&     echo "en_  0.0s
 => CACHED [ 4/13] COPY builder/requirements.txt /requirements.txt                                                                                                                                     0.0s
 => CACHED [ 5/13] RUN pip install --upgrade pip &&     pip install -r /requirements.txt &&     rm /requirements.txt                                                                                   0.0s
 => CACHED [ 6/13] ADD src .                                                                                                                                                                           0.0s
 => CACHED [ 7/13] COPY builder/install.py /workspace/install.py                                                                                                                                       0.0s
 => CACHED [ 8/13] RUN python -u /workspace/install.py                                                                                                                                                 0.0s
 => CACHED [ 9/13] RUN rm /workspace/install.py                                                                                                                                                        0.0s
 => CACHED [10/13] RUN cd /workspace/sd/stable-diffusion-webui/modules &&     wget -q -O paths.py https://raw.githubusercontent.com/TheLastBen/fast-stable-diffusion/main/AUTOMATIC1111_files/paths.p  0.0s
 => CACHED [11/13] COPY builder/model_fetcher.sh /workspace/model_fetcher.sh                                                                                                                           0.0s 
 => ERROR [12/13] RUN sh /workspace/model_fetcher.sh                                                                                                                                                   0.7s 
------
 > [12/13] RUN sh /workspace/model_fetcher.sh:
' is not a git command. See 'git --help'.
0.295
0.295 The most similar command is
0.295   init
0.298 Error: unknown flag: --skip-repo
0.298
0.298 git lfs install [options]
0.298
0.298 Perform the following actions to ensure that Git LFS is setup properly:
0.298
0.298 * Set up the clean and smudge filters under the name "lfs" in the global Git
0.298   config.
0.298 * Install a pre-push hook to run git lfs pre-push for the current repository,
0.298   if run from inside one. If "core.hooksPath" is configured in any Git
0.298   configuration (and supported, i.e., the installed Git version is at least
0.298   2.9.0), then the pre-push hook will be installed to that directory instead.
0.298
0.298 Options:
0.298
0.298 Without any options, git lfs install will only setup the "lfs" smudge and clean
0.298 filters if they are not already set.
0.298
0.298 * --force:
0.298     Sets the "lfs" smudge and clean filters, overwriting existing values.
0.298 * --local:
0.298     Sets the "lfs" smudge and clean filters in the local repository's git
0.298     config, instead of the global git config (~/.gitconfig).
0.298 * --manual:
0.298     Print instructions for manually updating your hooks to include git-lfs
0.298     functionality. Use this option if git lfs install fails because of existing
0.298     hooks and you want to retain their functionality.
0.298 * --system:
0.298     Sets the "lfs" smudge and clean filters in the system git config, e.g. /etc/gitconfig
0.298     instead of the global git config (~/.gitconfig).
0.298 * --skip-smudge:
0.298     Skips automatic downloading of objects on clone or pull. This requires a
0.298     manual "git lfs pull" every time a new commit is checked out on your
0.298     repository.
0.298 * --skip-repo:
0.298     Skips setup of the local repo; use if you want to install the global lfs
0.298     filters but not make changes to the current repo.
0.299 fatal: not a git repository (or any of the parent directories): .git
0.299 fatal: not in a git directory
: Directory nonexistentfetcher.sh: 7: cannot create .git/info/sparse-checkout
0.300 fatal: not a git repository (or any of the parent directories): .git
0.301 vae/diffusion_pytorch_model.bin: No such file or directory
0.301 rm: cannot remove '.git'$'\r': No such file or directory
0.302 rm: cannot remove 'model_index.json'$'\r': No such file or directory
0.302 --2023-07-03 19:31:58--  https://raw.githubusercontent.com/TheLastBen/fast-stable-diffusion/main/Dreambooth/model_index.json%0D
0.303 Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.108.133, 185.199.110.133, 185.199.109.133, ...
0.304 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.108.133|:443... connected.
0.433 HTTP request sent, awaiting response... 404 Not Found
0.657 2023-07-03 19:31:58 ERROR 404: Not Found.
0.657
------
Dockerfile:34
--------------------
  32 |     # Download the models
  33 |     COPY builder/model_fetcher.sh /workspace/model_fetcher.sh
  34 | >>> RUN sh /workspace/model_fetcher.sh
  35 |     RUN rm /workspace/model_fetcher.sh
  36 |
--------------------
ERROR: failed to solve: process "/bin/bash -c sh /workspace/model_fetcher.sh" did not complete successfully: exit code: 8`
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant