Commit 1896a3e4 authored by hdeadman's avatar hdeadman

add docker commands to windows build wrapper

parent 2f925473
......@@ -34,6 +34,8 @@
@if "%1" == "cli" call:cli
@if "%1" == "debugcli" call:debugcli
@if "%1" == "dependencies" call:dependencies
@if "%1" == "dockerimage" call:dockerimage
@if "%1" == "dockerrun" call:dockerrun
@rem function section starts here
@goto :EOF
......@@ -47,7 +49,7 @@
@goto :EOF
@echo "Usage: build.cmd [copy|clean|package|refresh|run|debug|gencert] [optional extra args for gradle]"
@echo "Usage: build.cmd [copy|clean|package|refresh|run|debug|gencert|dockerimage|dockerrun] [optional extra args for gradle]"
@echo "To get started on a clean system, run 'build.cmd gencert && build.cmd copy && build.cmd run'"
@echo "Note that using the copy or gencert arguments will create and/or overwrite the %CAS_DIR% which is outside this project"
@goto :EOF
......@@ -74,6 +76,16 @@
call:package --refresh-dependencies %1 %2
@goto :EOF
call %GRADLE_CMD% clean build jibDockerBuild
@goto :EOF
docker stop cas
docker rm cas
docker run --name cas org.apereo.cas/cas:latest
@goto :EOF
where /q keytool
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment