You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19Lines changed: 19 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -592,6 +592,25 @@ during a Docker build, you might have encountered an out of memory issue.
592
592
Try to rerun the same command after closing other applications which might comsume a lot of RAM.
593
593
In some cases it may also be necessary to disable some kind of out-of-memory killer (also known as OOM killer or OOM deamon) but use this option with caution.
594
594
595
+
### Docker fails to open Git repository
596
+
597
+
If you see an error like
598
+
```
599
+
error: opening Git repository '"/home/user"': failed to resolve path '/home/your-user-name/some/path/.git/worktrees/Vatras': No such file or directory
600
+
------
601
+
Dockerfile:19
602
+
--------------------
603
+
17 |
604
+
18 | # Verify all proofs and build the demo.
605
+
19 | >>> RUN nix-build
606
+
20 |
607
+
21 | # Copy the demo with all runtime dependencies (ignoring build-time dependencies)
608
+
--------------------
609
+
ERROR: failed to solve: process "/bin/sh -c nix-build" did not complete successfully: exit code: 1
610
+
```
611
+
you may be in a Git worktree or your Git directory is out of place for some other reason.
612
+
Ensure that `git rev-parse --path-format=absolute --git-common-dir` (the path of the Git repository's data) is in your current working directory by creating a fresh non-bare clone without creating a second Git worktree.
613
+
595
614
## Where does the library name 'Vatras' come from?
596
615
597
616
The name Vatras is (of course) an acronym, which stands for _VAriability language TRAnslationS_.
0 commit comments