ifffff/pig-codegen/Dockerfile

16 lines
316 B
Docker
Raw Normal View History

2019-02-01 21:06:59 +08:00
FROM anapsix/alpine-java:8_server-jre_unlimited
MAINTAINER wangiegie@gmail.com
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN mkdir -p /pig-codegen
WORKDIR /pig-codegen
EXPOSE 5003
ADD ./target/pig-codegen.jar ./
2019-02-01 21:06:59 +08:00
CMD sleep 60;java -Djava.security.egd=file:/dev/./urandom -jar pig-codegen.jar