Add build docker

This commit is contained in:
Derry Hamilton 2019-06-12 14:43:15 +01:00
parent 088f77bc42
commit 2e3bdc7004
3 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,17 @@
#!/bin/bash
set -e
LOG_PROPS=/etc/ujetl/copying_defaults_log4j.xml
cd /var/ujetl
for file in *.xml
do
/usr/bin/java \
-Xms1g \
-Xmx2g \
-cp /usr/share/ujetl/lib/CopyingApp.jar \
com.rasilon.ujetl.CopyingApp \
--log4j "$LOG_PROPS" \
--config "$file"
done