Makefile docker-build looks broken
Dioprz opened this issue · 2 comments
Dioprz commented
Hi,
Just want to report that trying to install the project via docker I ended up with this error:
❯ make docker-build
Makefile:63: warning: overriding recipe for target 'docker-build'
Makefile:18: warning: ignoring old recipe for target 'docker-build'
make[1]: Entering directory '/home/user/Git/CryptographicEstimators'
Makefile:63: warning: overriding recipe for target 'docker-build'
Makefile:18: warning: ignoring old recipe for target 'docker-build'
Unable to find image 'estimators-lib:latest' locally
docker: Error response from daemon: pull access denied for estimators-lib, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.
make[1]: *** [Makefile:60: mount-volume-and-run] Error 125
make[1]: Leaving directory '/home/user/Git/CryptographicEstimators'
make: *** [Makefile:63: docker-build] Error 2
To solve it I have to remove docker-build
on the Makefile from here:
docker-doc docker-build:
@make mount-volume-and-run && make generate-documentation && make stop-container-and-remove container_name="container-for-docs"
It's happening both in the main
and develop
branches.
FloydZ commented
Thanks for raising this. This error should be fixed with this PR.
The problem is the line:
docker-doc docker-build:
which should be:
docker-doc: docker-build
I dont know why this change is already in main
Dioprz commented
Yes, it works installing from your branch.
I think is good to have this open while the PR is merged, but it now is linked.
Thanks!