Skip to content

Instantly share code, notes, and snippets.

@MaheshwarReddyGade
Last active March 14, 2020 12:43
Show Gist options
  • Save MaheshwarReddyGade/ae77fba300fb7bf15446c7b67a675d1e to your computer and use it in GitHub Desktop.
Save MaheshwarReddyGade/ae77fba300fb7bf15446c7b67a675d1e to your computer and use it in GitHub Desktop.
buildargs file
[before-wdt-command]
RUN mkdir -p /u01/oracle/Middleware/domains/asr_domain/
COPY --chown=oracle:oinstall files/* /u01/oracle/Middleware/domains/asr_domain/
[final-build-commands]
CMD ["/u01/oracle/Middleware/domains/asr_domain/bin/startWebLogic.sh"]
[after-jdk-install]
COPY --chown=oracle:oinstall files/* /u01/oracle/Middleware/domains/asr_domain/
ENV JAVA_HOME=/u01/jdk \
PATH=$PATH:$JAVA_HOME/bin
RUN $JAVA_HOME/bin/keytool -importcert -noprompt -keystore /u01/jdk/jre/lib/security/cacerts -storepass changeit -alias idcs_int -file /u01/oracle/Middleware/domains/asr_domain/idcs-3.cer \
&& $JAVA_HOME/bin/keytool -importcert -noprompt -keystore /u01/jdk/jre/lib/security/cacerts -storepass changeit -alias idcs -file /u01/oracle/Middleware/domains/asr_domain/idcs-2.cer \
&& $JAVA_HOME/bin/keytool -importcert -noprompt -keystore /u01/jdk/jre/lib/security/cacerts -storepass changeit -alias idcs_root -file /u01/oracle/Middleware/domains/asr_domain/idcs-1.cer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment