Skip to content

fix for Windows configs #19

Merged
merged 1 commit into from May 21, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 12 additions & 0 deletions configBuilder.sh 100644 → 100755
Expand Up @@ -555,6 +555,18 @@ EOF

fi

if [ ${USESECRETS} == "YES" ] && [ ${BUILD_ENV} == "WINDOWS" ]; then
echo "Configuring Dockerfile for use of secrets in a Windows container."

mv -f Dockerfile Dockerfile.setup
cat <<EOF > docker_edit.sed
s/^#!# RUN /RUN /
EOF
rm -f Dockerfile
sed -f docker_edit.sed Dockerfile.setup > Dockerfile
rm -f Dockerfile.setup
rm -f docker_edit.sed
fi

# configure SSL keystore password in tomcat's config file:
# conf/tomcat/server.xml replace: keystorePass="password"
Expand Down