fosrl.pangolin/Makefile

27 lines
988 B
Makefile
Raw Normal View History

2025-06-08 16:56:46 +02:00
.PHONY: build build-release build-arm build-x86 test clean
build-release:
@if [ -z "$(tag)" ]; then \
2025-06-08 16:56:46 +02:00
echo "Error: tag is required. Usage: make build-release tag=<tag>"; \
exit 1; \
fi
2025-06-04 17:17:18 -04:00
docker buildx build --platform linux/arm64,linux/amd64 -t fosrl/pangolin:latest -f Dockerfile --push .
docker buildx build --platform linux/arm64,linux/amd64 -t fosrl/pangolin:$(tag) -f Dockerfile --push .
2025-06-04 12:02:07 -04:00
docker buildx build --platform linux/arm64,linux/amd64 -t fosrl/pangolin:postgresql-latest -f Dockerfile.pg --push .
docker buildx build --platform linux/arm64,linux/amd64 -t fosrl/pangolin:postgresql-$(tag) -f Dockerfile.pg --push .
2024-10-20 12:55:28 -04:00
build-arm:
2025-01-04 16:30:09 -05:00
docker buildx build --platform linux/arm64 -t fosrl/pangolin:latest .
build-x86:
docker buildx build --platform linux/amd64 -t fosrl/pangolin:latest .
2024-12-01 19:45:36 -05:00
build:
2025-01-04 16:30:09 -05:00
docker build -t fosrl/pangolin:latest .
2024-10-20 12:55:28 -04:00
2024-09-28 18:17:37 -04:00
test:
2025-01-04 16:30:09 -05:00
docker run -it -p 3000:3000 -p 3001:3001 -p 3002:3002 -v ./config:/app/config fosrl/pangolin:latest
2024-09-28 18:18:06 -04:00
clean:
2024-10-06 11:13:50 -04:00
docker rmi pangolin