diff options
Diffstat (limited to 'components/datalake-handler/feeder/Dockerfile')
-rw-r--r-- | components/datalake-handler/feeder/Dockerfile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/components/datalake-handler/feeder/Dockerfile b/components/datalake-handler/feeder/Dockerfile new file mode 100644 index 00000000..20444f97 --- /dev/null +++ b/components/datalake-handler/feeder/Dockerfile @@ -0,0 +1,19 @@ +FROM openjdk:8-jre-slim + +MAINTAINER Guobiao Mo <guobiaomo@chinamobile.com> + +EXPOSE 1680 + +RUN groupadd -r datalake && useradd -r -g datalake datalake +RUN mkdir /home/datalake + +USER datalake + +WORKDIR /home/datalake + +#add the fat jar +COPY target/${JAR_FILE} /home/datalake/ +COPY src/assembly/run.sh /home/datalake/ + +CMD ["sh", "run.sh"] + |