git binary needs to be installed also
See original GitHub issueIssue
Git is not installed but yarn install tries to use it.
How to reproduce:
Fresh git clone docker-compse up
The log shows the error
Step 5/14 : COPY ./package.json .
---> 58f5e723404f
Step 6/14 : COPY ./yarn.lock .
---> ff8e79f2ced8
Step 7/14 : RUN yarn install
---> Running in 8b8661f0c537
yarn install v1.22.5
[1/4] Resolving packages...
[2/4] Fetching packages...
error Couldn't find the binary git
Suggested fix:
add git to list of installable packages: https://github.com/1inch/shieldy/blob/afb7e312cb95600ceb17cd2a8704eed1871f6f5b/Dockerfile#L15
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
1.5 Getting Started - Installing Git
If you do want to install Git from source, you need to have the following libraries that Git depends on: autotools, curl, zlib,...
Read more >Is git good with binary files? [closed]
1. very good with binary - i use it myself · It's kinda true. You can put your /home under git revision and...
Read more >Passing binary files as 'scripts' causes errors at develop ...
As I understood the feature, and the usage we have in a normal install, is that scripts are copied to the python Scripts...
Read more >Getting started with Git LFS - GitLab
Working with large binary files in Git can indeed be tricky. ... Your local Git installation also needs to support LFS.
Read more >Install Git | Atlassian Git Tutorial
If you followed the MacPorts or Homebrew instructions above, the helper should already be installed. Otherwise you'll need to download and install it....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Many thanks, a really quick fix, awesome!
#142 should fix it