File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change
1
+ mcp-servers /go /fast-time-server /Dockerfile
1
2
Dockerfile
2
3
Dockerfile. *
3
4
Containerfile. *
Original file line number Diff line number Diff line change @@ -658,8 +658,9 @@ sonar-deps-podman:
658
658
python3 -m pip install --quiet podman-compose
659
659
660
660
sonar-deps-docker :
661
- @echo " 🔧 Ensuring docker-compose is available …"
662
- @which docker-compose > /dev/null || python3 -m pip install --quiet docker-compose
661
+ @echo " 🔧 Ensuring $( COMPOSE_CMD) is available …"
662
+ @command -v $(firstword $(COMPOSE_CMD ) ) > /dev/null || \
663
+ python3 -m pip install --quiet docker-compose
663
664
664
665
# # ─────────── Run SonarQube server (compose) ────────────────────────────
665
666
sonar-up-podman :
@@ -669,10 +670,11 @@ sonar-up-podman:
669
670
@sleep 30 && podman ps | grep sonarqube || echo " ⚠️ Server may still be starting."
670
671
671
672
sonar-up-docker :
672
- @echo " 🚀 Starting SonarQube (v$( SONARQUBE_VERSION) ) with docker-compose …"
673
+ @echo " 🚀 Starting SonarQube (v$( SONARQUBE_VERSION) ) with $( COMPOSE_CMD ) …"
673
674
SONARQUBE_VERSION=$(SONARQUBE_VERSION ) \
674
- docker-compose -f podman-compose-sonarqube.yaml up -d
675
- @sleep 30 && docker ps | grep sonarqube || echo " ⚠️ Server may still be starting."
675
+ $(COMPOSE_CMD ) -f podman-compose-sonarqube.yaml up -d
676
+ @sleep 30 && $(COMPOSE_CMD ) ps | grep sonarqube || \
677
+ echo " ⚠️ Server may still be starting."
676
678
677
679
# # ─────────── Containerised Scanner CLI (Docker / Podman) ───────────────
678
680
sonar-submit-docker :
You can’t perform that action at this time.
0 commit comments