add Makefile release target for graal native image
This commit is contained in:
parent
6b65fa8e20
commit
a38a324ad2
8
Makefile
8
Makefile
@ -1,5 +1,7 @@
|
||||
.PHONY: build run debug docker-build docker-run docker-graal-introspect docker-graal-build docker-graal-run
|
||||
|
||||
NATIVE_VERSION=1.0.0
|
||||
|
||||
build:
|
||||
./mvnw compile
|
||||
|
||||
@ -21,8 +23,12 @@ docker-graal-introspect:
|
||||
docker build -f ./Dockerfile-agent -t docker.registry:5000/wikiproject-native-introspect .
|
||||
docker run -p 8080:$(RUN_PORT) -e RUN_PORT=$(RUN_PORT) --rm -v $$(pwd):/build docker.registry:5000/wikiproject-native-introspect
|
||||
|
||||
docker-graal-build: NATIVE_VERSION=latest
|
||||
docker-graal-build:
|
||||
docker build -t docker.registry:5000/wikiproject-native .
|
||||
docker build -t docker.registry:5000/wikiproject-native:$(NATIVE_VERSION) .
|
||||
|
||||
docker-graal-release:
|
||||
docker tag docker.registry:5000/wikiproject-native:latest docker.registry:5000/wikiproject-native:$(NATIVE_VERSION)
|
||||
|
||||
docker-graal-run: RUN_PORT=8080
|
||||
docker-graal-run:
|
||||
|
Loading…
Reference in New Issue
Block a user