Makefile: docker-compose
V1 is deprecated and useless for people with newly installed docker compose
V2 version
#2960
Labels
I have installed the new version V2 of Docker Compose on my PC and I could not use
docker-compose
in Makefile anymore. So I was thinking the solution thinking that there are people working with me, who have V1 version. So on the project I createdMakefile-v2
file with onlydocker compose
, which is used by me by typingmake -f Makefile-v2 <makefile target>
(this solution is not ideally, I know). The second solution is let the onlyMakefile
file and duplicate make targets (for both groups of people - withdocker-compose
anddocker compose
). The third solution could be to make (Linux) aliasdocker-compose
fordocker compose
maybe. There could be more solutions of the problem.I don't know the correct and ideal solution, but I know that this problem will must be solved, because there will be more people with V2 version (not only me) in the future and there still will be some people with old V1 version.
BTW - the content of current Makefile https://github.com/shopsys/shopsys/blob/14.0/Makefile is mix of
docker-compose
(V1, can't be installed, deprecated) anddocker compose
(V2, the only version to be newly installed).The text was updated successfully, but these errors were encountered: