summaryrefslogtreecommitdiffstats
path: root/components/datalake-handler/feeder/src/assembly/Dockerfile
blob: 7cd6380c022f7d50dd28d420ad7d8f7eb6d84862 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM openjdk:8-jre

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/feeder-1.0.0-SNAPSHOT.jar /home/datalake/
COPY src/assembly/run.sh /home/datalake/

CMD ["sh", "run.sh"]