Skip to content

Instantly share code, notes, and snippets.

@kelapure
Last active Aug 16, 2017
Embed
What would you like to do?
Dockerfile for JSR352 Batch app
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 ssl-1.0 transportSecurity-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