-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMakefile
More file actions
38 lines (30 loc) · 910 Bytes
/
Makefile
File metadata and controls
38 lines (30 loc) · 910 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Docker image configuration
IMAGE_NAME := psyb0t/claudebox
TAG := latest
.PHONY: build build-minimal build-all test clean help
# Default target
all: build
# Build the full image
build:
docker build --target full -t $(IMAGE_NAME):$(TAG) .
# Build the minimal image
build-minimal:
docker build --target minimal -t $(IMAGE_NAME):$(TAG)-minimal .
# Build both
build-all: build build-minimal
# Run all tests
test:
bash test.sh
# Clean up images
clean:
docker rmi $(IMAGE_NAME):$(TAG) || true
docker rmi $(IMAGE_NAME):$(TAG)-minimal || true
# Show available targets
help:
@echo "Available targets:"
@echo " build - Build the full Docker image"
@echo " build-minimal - Build the minimal Docker image"
@echo " build-all - Build both images"
@echo " test - Run all tests"
@echo " clean - Remove built images"
@echo " help - Show this help message"