Skip to content

Commit

Permalink
Merge pull request oracle#951 from ericsmalling/fixformac
Browse files Browse the repository at this point in the history
MacOS fix for md5sum, and matched password to README.md
  • Loading branch information
mriccell authored Sep 14, 2018
2 parents 167394a + 8f1900b commit 8dcdc49
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CONNECTION_STRING=InfraDB:1521/InfraPDB1.us.oracle.com
RCUPREFIX=INFRA6
DB_PASSWORD=MyDBPassword
DB_PASSWORD=MYDBPasswd
DB_USERNAME=sys
ADMIN_PASSWORD=MyWLSAdminPassword123
DB_SCHEMA_PASSWORD=MyDBPasswd
Expand Down
6 changes: 5 additions & 1 deletion OracleFMWInfrastructure/dockerfiles/buildDockerImage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,11 @@ echo "Image name: " $IMAGE_NAME
# Validate packages
checksumPackages() {
echo "Checking if required packages are present and valid..."
md5sum -c Checksum
MD5CMD="md5sum -c Checksum"
if ! [ -x "$(command -v md5sum)" ]; then
MD5CMD="docker run -it --rm -v$(pwd):/md5dir oracle/serverjre:8 sh -c cd /md5dir; ${MD5CMD}"
fi
$MD5CMD
if [ "$?" -ne 0 ]; then
echo "MD5 for required packages to build this image did not match!"
echo "Make sure to download missing files in folder $VERSION. See *.download files for more information"
Expand Down

0 comments on commit 8dcdc49

Please sign in to comment.