You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adapt justfiles for Docker Compose command (#1153)
This should solve #1149. See also [my comment there for the
approach](#11). In short
through a variable that is substituted. Note that this may not work if
an older Docker version is installed without the Python `docker-compose`
script...As both variants will not be present. Maybe add an extra
test+warning msg for that case.
```
dockercompose := `if docker-compose --version &> /dev/null; then echo "docker-compose"; else echo "docker compose"; fi`
.
.
up:
{{ dockercompose }} up
up-build:
{{ dockercompose }} up --build
.
.
```
---------
Co-authored-by: Lucas <[email protected]>
0 commit comments