Skip to content

Instantly share code, notes, and snippets.

Last active Aug 16, 2017
What would you like to do?
Dockerfile for JSR352 Batch app
FROM websphere-liberty:kernel
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/; fi \
&& installUtility install --acceptLicense batch-1.0 ssl-1.0 transportSecurity-1.0 \
&& if [ ! -z $REPOSITORIES_PROPERTIES ]; then rm /opt/ibm/wlp/etc/; 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