pig/pig-gateway/Dockerfile

18 lines
356 B
Docker
Raw Normal View History

FROM anapsix/alpine-java:8_server-jre_unlimited
2019-02-01 21:06:59 +08:00
MAINTAINER wangiegie@gmail.com
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-gateway
2019-02-01 21:06:59 +08:00
WORKDIR /pig-gateway
2019-02-01 21:06:59 +08:00
EXPOSE 9999
ADD ./target/pig-gateway.jar ./
2019-02-01 21:06:59 +08:00
CMD sleep 60;java -Djava.security.egd=file:/dev/./urandom -jar pig-gateway.jar