unarr/docker-build.sh
Deivid Soto 29cf0a0126 feat: initial commit — unarr CLI
Search, inspect, stream, and download torrents from the terminal.
Replaces the entire *arr stack with a single binary.
2026-03-28 11:29:42 +01:00

17 lines
499 B
Bash
Executable file

#!/bin/sh
# Build the unarr Docker image.
# Must be run from the torrentclaw-cli directory (or its parent).
set -e
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
PARENT_DIR="$(dirname "$SCRIPT_DIR")"
# Build from parent dir so both torrentclaw-cli/ and go-client/ are in context
docker build \
-f "$SCRIPT_DIR/Dockerfile" \
-t torrentclaw/unarr:latest \
"$PARENT_DIR"
echo ""
echo "✓ Built: torrentclaw/unarr:latest"
docker images torrentclaw/unarr:latest --format " Size: {{.Size}}"