Last active
August 16, 2017 17:41
-
-
Save kelapure/ef3f75c57500805436258db4e10be060 to your computer and use it in GitHub Desktop.
Dockerfile for JSR352 Batch app
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM websphere-liberty:kernel | |
ARG REPOSITORIES_PROPERTIES="" | |
ADD SleepyBatchletSample-1.0.war /config/dropins/ | |
COPY server.xml /config/ | |
RUN if [ ! -z $REPOSITORIES_PROPERTIES ]; then mkdir /opt/ibm/wlp/etc/ \ | |
&& echo $REPOSITORIES_PROPERTIES > /opt/ibm/wlp/etc/repositories.properties; fi \ | |
&& installUtility install --acceptLicense batch-1.0 \ | |
&& if [ ! -z $REPOSITORIES_PROPERTIES ]; then rm /opt/ibm/wlp/etc/repositories.properties; fi \ | |
&& rm -rf /output/workarea /output/logs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment