refactor(images): pull from registry instead of building; add build.sh for local dev
This commit is contained in:
parent
ff9ed447c0
commit
2d822305d1
6 changed files with 48 additions and 18 deletions
17
build.sh
Executable file
17
build.sh
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
#!/usr/bin/env bash
|
||||
# build.sh — Build Docker images locally for development
|
||||
# Usage: ./build.sh [--no-cache] [--push]
|
||||
set -euo pipefail
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
COMPOSE_FILE="$SCRIPT_DIR/docker-compose.yml"
|
||||
PROJECT="claude-secure"
|
||||
|
||||
GREEN='\033[0;32m'; NC='\033[0m'
|
||||
info() { echo -e "${GREEN}[+]${NC} $*"; }
|
||||
|
||||
dc() { docker compose -f "$COMPOSE_FILE" -p "$PROJECT" "$@"; }
|
||||
|
||||
info "Building images..."
|
||||
dc build "$@"
|
||||
info "Done. Run './claude.sh start' to launch."
|
||||
Loading…
Add table
Add a link
Reference in a new issue