summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/base/src/files/etc/profile.d/env.sh4
-rw-r--r--packages/docker/src/main/docker/Dockerfile2
2 files changed, 4 insertions, 2 deletions
diff --git a/packages/base/src/files/etc/profile.d/env.sh b/packages/base/src/files/etc/profile.d/env.sh
index 5a58940f..00f61df4 100644
--- a/packages/base/src/files/etc/profile.d/env.sh
+++ b/packages/base/src/files/etc/profile.d/env.sh
@@ -35,11 +35,13 @@ if [[ -z "${POLICY_HOME}" ]]; then
fi
fi
+confs=$(ls "${POLICY_HOME}"/etc/profile.d/*.conf 2> /dev/null)
+c=
+
set -a
POLICY_HOME=${POLICY_HOME:=/opt/app/policy}
-confs=$(ls "${POLICY_HOME}"/etc/profile.d/*.conf 2> /dev/null)
for c in ${confs} ; do
source ${c}
done
diff --git a/packages/docker/src/main/docker/Dockerfile b/packages/docker/src/main/docker/Dockerfile
index aaae2826..c6397b62 100644
--- a/packages/docker/src/main/docker/Dockerfile
+++ b/packages/docker/src/main/docker/Dockerfile
@@ -21,7 +21,7 @@ RUN apk update && \
bash bash-completion procps \
coreutils less grep findutils \
zip unzip file \
- openssl openssh \
+ nss openssl openssh \
python py-pip openjdk8 maven \
curl wget httpie jq