Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed the base image name and java version 11 #59

Open
wants to merge 1 commit into
base: openjdk-alpine
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openjdk:8-jdk-alpine
FROM eclipse-temurin:11.0.15_10-jre-alpine
LABEL maintainer="TIBCO Software Inc."
ADD . /
RUN chmod 755 /scripts/*.sh && apk update && apk add unzip openssh net-tools
Expand Down
4 changes: 2 additions & 2 deletions reducedStartupTime/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ checkEnvSubstituteConfig()

if [[ ${BW_JAVA_OPTS} ]]; then
if [ -e ${bwappnodeTRA} ]; then
sed -i.bak "/java.extended.properties/s/$/ ${BW_JAVA_OPTS}/" $bwappnodeTRA
sed -i.bak "/java.extended.properties/s/$/ ${BW_JAVA_OPTS}/" $bwappnodeTRA 2> /dev/null
print_Debug "Appended $BW_JAVA_OPTS to java.extend.properties"
fi
fi
Expand Down Expand Up @@ -362,7 +362,7 @@ checkJAVAHOME()
if [[ ${JAVA_HOME} ]]; then
print_Debug $JAVA_HOME
else
export JAVA_HOME=$BWCE_HOME/tibco.home/tibcojre64/1.8.0
export JAVA_HOME=$BWCE_HOME/tibco.home/tibcojre64/11
fi
}

Expand Down
4 changes: 2 additions & 2 deletions scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ checkEnvSubstituteConfig()
fi
if [[ ${BW_JAVA_OPTS} ]]; then
if [ -e ${bwappnodeTRA} ]; then
sed -i.bak "/java.extended.properties/s/$/ ${BW_JAVA_OPTS}/" $bwappnodeTRA
sed -i.bak "/java.extended.properties/s/$/ ${BW_JAVA_OPTS}/" $bwappnodeTRA 2> /dev/null
print_Debug "Appended $BW_JAVA_OPTS to java.extend.properties"
fi
fi
Expand Down Expand Up @@ -359,7 +359,7 @@ checkJAVAHOME()
if [[ ${JAVA_HOME} ]]; then
print_Debug $JAVA_HOME
else
export JAVA_HOME=$BWCE_HOME/tibco.home/tibcojre64/1.8.0
export JAVA_HOME=$BWCE_HOME/tibco.home/tibcojre64/11
fi
}

Expand Down