diff options
author | Andrew Gauld <agauld@att.com> | 2020-01-21 14:47:38 +0000 |
---|---|---|
committer | Andrew Gauld <agauld@att.com> | 2020-01-21 19:41:32 +0000 |
commit | 3fb91dc34bcde5489681f6470cae7f01c8b246d0 (patch) | |
tree | 8c6a330a1dc1084c8ff99ee4e418838fe9ecfbd8 /mod/genprocessor/docker/job/Dockerfile | |
parent | 86a040e87585d176dee6f215d5d46a2a74c1366e (diff) |
runtimeapi & genprocessor pom.xml docker changes
Change-Id: I1595bf1c08dae161530c4dcdbc3e53b909164a10
Issue-ID: DCAEGEN2-1860
Signed-off-by: Andrew Gauld <agauld@att.com>
Diffstat (limited to 'mod/genprocessor/docker/job/Dockerfile')
-rw-r--r-- | mod/genprocessor/docker/job/Dockerfile | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/mod/genprocessor/docker/job/Dockerfile b/mod/genprocessor/docker/job/Dockerfile deleted file mode 100644 index b70a06c..0000000 --- a/mod/genprocessor/docker/job/Dockerfile +++ /dev/null @@ -1,15 +0,0 @@ -FROM maven:3-jdk-8 - -COPY . /code -WORKDIR /code -RUN mvn package dependency:copy-dependencies -ENV GENPROC_WORKING_DIR=/work -ENV GENPROC_ONBOARDING_API_HOST=http://onboarding-api/onboarding -ENV GENPROC_PROCESSOR_CLASSFILE_PATH=/code/target/classes/sandbox/DCAEProcessor.class -ENV GENPROC_SLEEP_SEC=10 - -ENV _RUN_COMMAND="java -cp \"target/genprocessor-1.0.1.jar:target/dependency/*\" sandbox.App gen" -RUN printf "#!/bin/bash\nwhile true\ndo\n\t$_RUN_COMMAND\n\tsleep $GENPROC_SLEEP_SEC\ndone" > /code/run.sh \ - & chmod +x /code/run.sh - -CMD /code/run.sh |