From ff2a91ed1ffc2bb0be5bb4f63290dad5f9a9f3f8 Mon Sep 17 00:00:00 2001 From: magnusanatolius Date: Fri, 13 Mar 2020 18:03:00 +0100 Subject: [PATCH] * --- build.sh | 24 +++++++++++++++++++++--- doc/build.sh | 2 +- gatekeeper/build.sh | 2 +- keycloak/build.sh | 2 +- login/build.sh | 2 +- portal/build.sh | 2 +- postgresql/build.sh | 2 +- search/build.sh | 2 +- source.manager/build.sh | 2 +- 9 files changed, 29 insertions(+), 11 deletions(-) diff --git a/build.sh b/build.sh index 807c4c7..0135789 100644 --- a/build.sh +++ b/build.sh @@ -1,4 +1,22 @@ #!/bin/bash - - - \ No newline at end of file + +sh ./gatekeeper/build.sh +wait +echo "gatekeeper image Successfully built" +sh ./keycloak/build.sh +wait +echo "keycloak image Successfully built" +sh ./login/build.sh +wait +echo "login image Successfully built" +sh ./portal/build.sh +wait +echo "portal image Successfully built" +sh ./postgresql/build.sh +wait +echo "postgresql image Successfully built" +sh ./source.manager/build.sh +echo "source.manager image Successfully built" +wait +sh ./doc/build.sh +echo "doc image Successfully built" \ No newline at end of file diff --git a/doc/build.sh b/doc/build.sh index 7b25c03..f183765 100644 --- a/doc/build.sh +++ b/doc/build.sh @@ -12,5 +12,5 @@ while [ "$1" != "" ]; do shift done -docker build --no-cache --build-arg SSH_KEY="$SSH_KEY" --build-arg SSH_KEY_PASSPHRASE="$SSH_KEY_PASSPHRASE" --tag in-sylva.doc . +docker build --no-cache --build-arg SSH_KEY="$SSH_KEY" --build-arg SSH_KEY_PASSPHRASE="$SSH_KEY_PASSPHRASE" --tag in-sylva.doc ./doc/. diff --git a/gatekeeper/build.sh b/gatekeeper/build.sh index c0f339e..b759695 100644 --- a/gatekeeper/build.sh +++ b/gatekeeper/build.sh @@ -12,5 +12,5 @@ while [ "$1" != "" ]; do shift done # --no-cache -docker build --no-cache --build-arg SSH_KEY="$SSH_KEY" --build-arg SSH_KEY_PASSPHRASE="$SSH_KEY_PASSPHRASE" --tag in-sylva.gatekeeper . +docker build --no-cache --build-arg SSH_KEY="$SSH_KEY" --build-arg SSH_KEY_PASSPHRASE="$SSH_KEY_PASSPHRASE" --tag in-sylva.gatekeeper ./gatekeeper/. diff --git a/keycloak/build.sh b/keycloak/build.sh index 4bd0600..467e0b2 100644 --- a/keycloak/build.sh +++ b/keycloak/build.sh @@ -1,4 +1,4 @@ #!/bin/bash -docker build --no-cache --tag in-sylva.keycloak . +docker build --no-cache --tag in-sylva.keycloak ./keycloak/. diff --git a/login/build.sh b/login/build.sh index d9df8df..4653960 100644 --- a/login/build.sh +++ b/login/build.sh @@ -24,6 +24,6 @@ docker build --no-cache --build-arg SSH_KEY="$SSH_KEY" --build-arg SSH_KEY_PASSP --build-arg IN_SYLVA_CLIENT_ID="in-sylva.user.app" \ --build-arg IN_SYLVA_GRANT_TYPE="password" \ --build-arg IN_SYLVA_REALM="in-sylva" \ - --tag in-sylva.user.login . + --tag in-sylva.user.login ./login/. diff --git a/portal/build.sh b/portal/build.sh index 5d4ca3c..7cb2b13 100644 --- a/portal/build.sh +++ b/portal/build.sh @@ -14,4 +14,4 @@ while [ "$1" != "" ]; do shift done # --no-cache -docker build --build-arg SSH_KEY="$SSH_KEY" --build-arg SSH_KEY_PASSPHRASE="$SSH_KEY_PASSPHRASE" --tag in-sylva.portal . +docker build --build-arg SSH_KEY="$SSH_KEY" --build-arg SSH_KEY_PASSPHRASE="$SSH_KEY_PASSPHRASE" --tag in-sylva.portal ./portal/. diff --git a/postgresql/build.sh b/postgresql/build.sh index 70fad98..f36ba02 100644 --- a/postgresql/build.sh +++ b/postgresql/build.sh @@ -1,3 +1,3 @@ #!/bin/bash # Benjamin -docker build --no-cache -t in-sylva.postgres . \ No newline at end of file +docker build --no-cache -t in-sylva.postgres ./postgresql/. \ No newline at end of file diff --git a/search/build.sh b/search/build.sh index 42991a8..b1e0cf2 100644 --- a/search/build.sh +++ b/search/build.sh @@ -13,5 +13,5 @@ while [ "$1" != "" ]; do done # --no-cache -docker build --build-arg SSH_KEY="$SSH_KEY" --build-arg SSH_KEY_PASSPHRASE="$SSH_KEY_PASSPHRASE" --tag in-sylva.search . +docker build --build-arg SSH_KEY="$SSH_KEY" --build-arg SSH_KEY_PASSPHRASE="$SSH_KEY_PASSPHRASE" --tag in-sylva.search ./search/. diff --git a/source.manager/build.sh b/source.manager/build.sh index 0caff25..87e2db8 100644 --- a/source.manager/build.sh +++ b/source.manager/build.sh @@ -13,4 +13,4 @@ while [ "$1" != "" ]; do shift done -docker build --no-cache --build-arg SSH_KEY="$SSH_KEY" --build-arg SSH_KEY_PASSPHRASE="$SSH_KEY_PASSPHRASE" --tag in-sylva.source.manager . +docker build --no-cache --build-arg SSH_KEY="$SSH_KEY" --build-arg SSH_KEY_PASSPHRASE="$SSH_KEY_PASSPHRASE" --tag in-sylva.source.manager ./source.manager/.