Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #16 from docker/fixsecrets
additional fixes
pcaskey committed Nov 3, 2017
2 parents 4382bf7 + 2222000 commit ea1a1bb
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions configBuilder.sh
@@ -72,31 +72,30 @@ case "$BUILD_ENV" in
LINUX | linux)
echo "Getting build files for a Linux container"
wget -q -O ${TMP_DIR_D}.zip ${LINUX_BUILD_FILES_URL} > /dev/null
unzip -o -d ${TMP_DIR_D} ${TMP_DIR_D}.zip > /dev/null 2>&1
cp -rf ${TMP_DIR_D}/shib-idp_noVM-master/* /output
;;
WINDOWS | windows)
echo "Getting build files for a Windows container"
wget -q -O ${TMP_DIR_D}.zip ${WINDOWS_BUILD_FILES_URL} > /dev/null
unzip -o -d ${TMP_DIR_D} ${TMP_DIR_D}.zip > /dev/null 2>&1
cp -rf ${TMP_DIR_D}/ShibbIdP_noVM_Windows-master/* /output
;;
*)
echo "Environment variable BUILD_ENV was not found or had an incorrect value (only LINUX|WINDOWS is supported). Terminating."
exit 1
;;
esac

unzip -o -d ${TMP_DIR_D} ${TMP_DIR_D}.zip > /dev/null 2>&1

cp -rf ${TMP_DIR_D}/shib-idp_noVM-master/* /output
rm -f /output/configBuilder.sh > /dev/null 2>&1
rm -f /output/setup.log > /dev/null 2>&1
rm -f /output/README.md > /dev/null 2>&1
rm -rf /output/shib-idp_noVM-master/*


#grab copy of Dockerfile in working dir
cp -f /output/Dockerfile .



##############################################################
### download default/TIER config for both shibb and tomcat ###
##############################################################

0 comments on commit ea1a1bb

Please sign in to comment.