Commit 363d2ddd authored by Misagh Moayyed's avatar Misagh Moayyed

update docs

parent dc5fa2a9
......@@ -114,6 +114,7 @@ jib {
*/
}
container {
useCurrentTimestamp = true
entrypoint = ['docker/entrypoint.sh']
ports = ['80', '443', '8080', '8443']
labels = [version:casServerVersion, name:project.name, group:project.group]
......
......@@ -25,6 +25,7 @@ function help() {
echo -e "\tcopy: \t\tCopy config from the project's local etc/cas/config directory to the root /etc/cas/config"
echo -e "\tdebug: \t\tRun cas.war and listen for Java debugger on port 5000"
echo -e "\tdependencies: \tGet a report of all dependencies configured in the build"
echo -e "\tdocker: \tBuild a Docker image based on the current build and configuration"
echo -e "\tgencert: \tCreate keystore with SSL certificate in location where CAS looks by default"
echo -e "\tgetview: \tAsk for a view name to be included in the overlay for customizations"
echo -e "\tlistviews: \tList all CAS views that ship with the web application and can be customized in the overlay"
......@@ -88,6 +89,10 @@ function runalone() {
$casWar
}
function jibdocker() {
./gradlew clean build jibDockerBuild "$@"
}
function listviews() {
explodeApp
explodedDir=build/cas
......@@ -206,6 +211,9 @@ case "$command" in
"run")
run "$@"
;;
"docker")
jibdocker "$@"
;;
"gencert")
gencert "$@"
;;
......@@ -230,4 +238,4 @@ case "$command" in
"tomcat")
tomcat
;;
esac
\ No newline at end of file
esac
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