Closed rafaveira3 closed 5 years ago
It looks like we have hard-coded /bin/bash
in a some of the subdirectory Makefiles. Possibly we should try not to do that, but for now I would suggest you add apk add --no-cache bash
to your setup.
Yup, @creachadair is absolutely right - adding that should allow for our CI makefile to stop failing due to bash
command missing.
@rafaveira3 that is what I did locally and it seems to work:
$ docker run -it golang:alpine
$ apk add --no-cache git make bash
$ git clone https://github.com/src-d/enry.git
$ cd enry; make packages
$ ./build/enry_linux_amd64/enry
98.34% Go
0.97% C
0.31% Shell
0.21% Java
0.07% Ruby
0.05% Makefile
0.04% Scala
0.01% Gnuplot
Going to close this issue if there is no further questions. But please feel free to re-open it in case something is still not working.
Thanks for the help, @bzz and @creachadair! It worked! 🙃
I would like to build
enry
via Makefile to get the commandenry --version
work properly. However, when building it inside agolang:alpine
container, I keep having the following issues:Can someone guide me on how to overcome this? 🙃