mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-25 00:16:23 +02:00
31 lines
601 B
Makefile
31 lines
601 B
Makefile
|
|
# VERSION=$(shell git describe | sed 's/^v//')
|
|
VERSION=0.5.5
|
|
|
|
all: container
|
|
|
|
CONTAINER=docker.io/trustgraph/trustgraph-flow
|
|
|
|
container:
|
|
podman build -f Containerfile -t ${CONTAINER}:${VERSION} \
|
|
--format docker
|
|
|
|
push:
|
|
podman push ${CONTAINER}:${VERSION}
|
|
|
|
start:
|
|
podman run -i -t --name ${NAME} \
|
|
-i -t \
|
|
-p 8081:8081 \
|
|
-v $$(pwd)/keys:/keys \
|
|
-v $$(pwd)/configs:/configs \
|
|
${CONTAINER}:${VERSION}
|
|
|
|
stop:
|
|
podman rm -f ${NAME}
|
|
|
|
clean:
|
|
rm -rf wheels/
|
|
|
|
set-version:
|
|
sed -i 's/trustgraph-flow:[0-9]*\.[0-9]*\.[0-9]*/trustgraph-flow:'${VERSION}'/' docker-compose*.yaml
|