mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-25 00:16:23 +02:00
Variable DOCKER
This commit is contained in:
parent
fd547f7762
commit
ab22fd4c24
1 changed files with 6 additions and 4 deletions
10
Makefile
10
Makefile
|
|
@ -2,19 +2,21 @@
|
||||||
# VERSION=$(shell git describe | sed 's/^v//')
|
# VERSION=$(shell git describe | sed 's/^v//')
|
||||||
VERSION=0.5.9
|
VERSION=0.5.9
|
||||||
|
|
||||||
|
DOCKER=podman
|
||||||
|
|
||||||
all: container
|
all: container
|
||||||
|
|
||||||
CONTAINER=docker.io/trustgraph/trustgraph-flow
|
CONTAINER=docker.io/trustgraph/trustgraph-flow
|
||||||
|
|
||||||
container:
|
container:
|
||||||
podman build -f Containerfile -t ${CONTAINER}:${VERSION} \
|
${DOCKER} build -f Containerfile -t ${CONTAINER}:${VERSION} \
|
||||||
--format docker
|
--format docker
|
||||||
|
|
||||||
push:
|
push:
|
||||||
podman push ${CONTAINER}:${VERSION}
|
${DOCKER} push ${CONTAINER}:${VERSION}
|
||||||
|
|
||||||
start:
|
start:
|
||||||
podman run -i -t --name ${NAME} \
|
${DOCKER} run -i -t --name ${NAME} \
|
||||||
-i -t \
|
-i -t \
|
||||||
-p 8081:8081 \
|
-p 8081:8081 \
|
||||||
-v $$(pwd)/keys:/keys \
|
-v $$(pwd)/keys:/keys \
|
||||||
|
|
@ -22,7 +24,7 @@ start:
|
||||||
${CONTAINER}:${VERSION}
|
${CONTAINER}:${VERSION}
|
||||||
|
|
||||||
stop:
|
stop:
|
||||||
podman rm -f ${NAME}
|
${DOCKER} rm -f ${NAME}
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf wheels/
|
rm -rf wheels/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue