mirror of
https://gitee.com/log4j/pig.git
synced 2025-01-03 23:42:22 +08:00
18 lines
356 B
Docker
Executable File
18 lines
356 B
Docker
Executable File
FROM anapsix/alpine-java:8_server-jre_unlimited
|
|
|
|
MAINTAINER wangiegie@gmail.com
|
|
|
|
ENV TZ=Asia/Shanghai
|
|
|
|
RUN ln -sf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
|
|
|
RUN mkdir -p /pig-monitor
|
|
|
|
WORKDIR /pig-monitor
|
|
|
|
EXPOSE 5001
|
|
|
|
ADD ./target/pig-monitor.jar ./
|
|
|
|
CMD sleep 60;java -Djava.security.egd=file:/dev/./urandom -jar pig-monitor.jar
|