Skip to content
Permalink
Browse files

Merge pull request #19 from docker/secretsoptional

fix for Windows configs
  • Loading branch information
pcaskey committed May 21, 2018
2 parents 2625349 + dc368ea commit e4e709cb0465b6d7bc60a0169e3f5e6e0c8559d7
Showing with 12 additions and 0 deletions.
  1. +12 −0 configBuilder.sh
12 configBuilder.sh 100644 → 100755
@@ -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"

0 comments on commit e4e709c

Please sign in to comment.
You can’t perform that action at this time.