#!/bin/bash

set -e

echo "Starting ephemeral SonarQube container..."

docker run -d \
  --name sonar-ephemeral \
  -p 9000:9000 \
  -e SONAR_ES_BOOTSTRAP_CHECKS_DISABLE=true \
  sonarqube:community

echo "SonarQube container started"