mirror of
https://github.com/samerfarida/mcp-ssh-orchestrator.git
synced 2026-11-18 18:03:42 +00:00
* fix: Remove unused variable in fix-markdownlint.py * fix: Remove unused code_block_lang variable * chore: Update documentation, workflows, and examples - Updated all wiki documentation files (markdownlint fixes) - Updated GitHub workflows and issue templates - Updated example configuration files - Updated metadata.json and pyproject.toml - Updated Dockerfile and compose files - Updated validation scripts Note: yamllint warnings are style-only (missing ---, line length) and don't affect functionality
18 lines
628 B
Bash
Executable File
18 lines
628 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
REPO_ROOT="$(cd "${SCRIPT_DIR}/.." && pwd)"
|
|
|
|
IMAGE_NAME="${IMAGE_NAME:-mcp-ssh-orchestrator:dev}"
|
|
DOCKERFILE_PATH="${DOCKERFILE_PATH:-${REPO_ROOT}/Dockerfile}"
|
|
|
|
if ! command -v docker >/dev/null 2>&1; then
|
|
echo "[docker-build] Docker CLI not found in PATH. Install Docker Desktop or docker-ce first." >&2
|
|
exit 1
|
|
fi
|
|
|
|
echo "[docker-build] Building image '${IMAGE_NAME}' from ${DOCKERFILE_PATH}"
|
|
docker build --file "${DOCKERFILE_PATH}" --tag "${IMAGE_NAME}" "${REPO_ROOT}"
|
|
echo "[docker-build] Image '${IMAGE_NAME}' ready."
|