Running in Docker
Official Docker Image
A docker image is available as twineworks/tweakstreet
in the public docker repository. See https://hub.docker.com/r/twineworks/tweakstreet for in-depth documentation.
Quickstart Example
The docker image puts the Tweakstreet bin
folder on PATH
. You can run engine.sh to execute a flow, for example.
The following mounts /my/project
in /app
and runs main.dfl
. The resulting container is automatically removed when done.
λ:~ $ docker run --init --rm \
-v /my/project:/app \
twineworks/tweakstreet \
engine.sh /app/main.dfl
2020-06-19 18:28:04 Z | INFO | main | tweakstreet 1.0.2 on OpenJDK 64-Bit Server VM 11.0.7+10 (AdoptOpenJDK)
2020-06-19 18:28:04 Z | INFO | main | loading flow /app/main.dfl
...
2020-06-19 18:28:06 Z | INFO | write records | FINISHED total: {"in": 11323, "out": 11323, "error": 0}
2020-06-19 18:28:06 Z | INFO | main.dfl | flow finished successfully
2020-06-19 18:28:06 Z | INFO | main | /app/main.dfl finished in 00:00:02
See https://hub.docker.com/r/twineworks/tweakstreet for in-depth documentation.