AicsKnowledgeBase_query/buildDockerImage.ps1

14 lines
408 B
PowerShell
Raw Normal View History

2023-07-07 02:29:45 +08:00
.\gradlew.bat bootJar
java -Djarmode=layertools `
-jar .\build\libs\AicsKnowledgeBase_query-1.0.0.jar `
extract --destination build/extracted
docker build -f .\Dockerfile -t auto/aics_query:latest .
echo 'saving...'
docker save -o ..\docker\aics_query.tar auto/aics_query:latest
echo 'compressing...'
Compress-Archive -Path ..\docker\aics_query.tar -DestinationPath ..\docker\aics_query.zip -Update
pause