Closed Capoouo closed 2 weeks ago
I see, then how about this instruction https://gist.github.com/torikushiii/b0d684d90a65af20b03383d5c4806dfd
I see, then how about this instruction https://gist.github.com/torikushiii/b0d684d90a65af20b03383d5c4806dfd
Currently, there is no issue. For example, if I only installed Docker Desktop, it might cause the Docker container to lack the git command, leading to this problem. You need to add RUN apk add --no-cache git in the Dockerfile for it to work properly
edit : I would like to correct my previous statement. Currently, adding RUN apk add --no-cache git will cause this error.
/bin/sh: git: not found
might be cause by this
but for the last one, im not so sure yet, but i can guess, I'm assuming you downloaded the repo directly and not using git clone
? if so, thats one of the reason
/bin/sh: git: not found
might be cause by thisbut for the last one, im not so sure yet
The issue appears to be that there is no app/.git directory inside the container after my edit
I used git clone to do that
/bin/sh: git: not found
might be cause by thisbut for the last one, im not so sure yet, but i can guess, I'm assuming you downloaded the repo directly and not using
git clone
? if so, thats one of the reason
I found the reason. It's because .dockerignore includes .git, which caused it to ignore the .git folder and led to subsequent issues
I added RUN apk add --no-cache git in the Dockerfile and removed .git from .dockerignore. Everything is working fine now.
im an absolute idiot, thank you for finding this, i've been trying replicating it myself and totally forgot the .dockerignore
file
im an absolute idiot, thank you for finding this, i've been trying replicating it myself and totally forgot the file
.dockerignore
After you update the README, you can close this issue. Thank you<3
If you only install Docker without installing Make, you will not be able to use the method described in the README to start the Docker container. You might still need to use the previous method to start it
or install make