2019-02-01 21:06:59 +08:00
|
|
|
FROM anapsix/alpine-java:8_server-jre_unlimited
|
|
|
|
|
|
|
|
MAINTAINER wangiegie@gmail.com
|
|
|
|
|
2020-01-27 22:46:56 +08:00
|
|
|
ENV TZ=Asia/Shanghai
|
|
|
|
|
|
|
|
RUN ln -sf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
2019-02-01 21:06:59 +08:00
|
|
|
|
|
|
|
RUN mkdir -p /pig-codegen
|
|
|
|
|
|
|
|
WORKDIR /pig-codegen
|
|
|
|
|
2020-03-14 14:27:18 +08:00
|
|
|
EXPOSE 5002
|
2019-02-01 21:06:59 +08:00
|
|
|
|
2020-01-17 20:46:22 +08:00
|
|
|
ADD ./target/pig-codegen.jar ./
|
2019-02-01 21:06:59 +08:00
|
|
|
|
2019-11-09 10:44:45 +08:00
|
|
|
CMD sleep 60;java -Djava.security.egd=file:/dev/./urandom -jar pig-codegen.jar
|