mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-22 08:38:13 +02:00
chore: remove pipecat version check from docker build process
This commit is contained in:
parent
c7e75819f4
commit
d55205fd67
7 changed files with 181 additions and 103 deletions
34
scripts/docker-build-local.sh
Executable file
34
scripts/docker-build-local.sh
Executable file
|
|
@ -0,0 +1,34 @@
|
|||
#!/usr/bin/env bash
|
||||
#
|
||||
# docker-build-local.sh
|
||||
#
|
||||
# Helper script for building Docker images locally with correct pipecat commit.
|
||||
# This ensures local builds use the same pipecat version as the submodule.
|
||||
#
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
# Get the directory where this script is located
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PROJECT_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
|
||||
|
||||
# Colors for output
|
||||
GREEN='\033[0;32m'
|
||||
BLUE='\033[0;34m'
|
||||
NC='\033[0m' # No Color
|
||||
|
||||
echo "🔨 Building Docker images with pipecat submodule..."
|
||||
|
||||
# Get the pipecat commit SHA
|
||||
PIPECAT_COMMIT=$("$SCRIPT_DIR/get_pipecat_commit.sh")
|
||||
echo -e "${BLUE}📦 Using pipecat commit: ${PIPECAT_COMMIT}${NC}"
|
||||
|
||||
# Export for docker-compose
|
||||
export PIPECAT_COMMIT
|
||||
|
||||
# Run docker-compose build with the commit SHA
|
||||
cd "$PROJECT_ROOT"
|
||||
docker-compose build "$@"
|
||||
|
||||
echo -e "${GREEN}✅ Docker build completed successfully!${NC}"
|
||||
echo -e "${GREEN} Pipecat commit: ${PIPECAT_COMMIT}${NC}"
|
||||
Loading…
Add table
Add a link
Reference in a new issue