blob: 20444f97b7fe6b2173edf97157e60cdd32e1007c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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"]
|