mirror of
https://github.com/rasilon/ujetl.git
synced 2026-04-11 10:29:29 +00:00
Add build docker
This commit is contained in:
parent
088f77bc42
commit
2e3bdc7004
3 changed files with 39 additions and 0 deletions
17
docker/run/ujetl_entrypoint
Normal file
17
docker/run/ujetl_entrypoint
Normal 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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue