添加 'worker/mayday-Dockerfile'
This commit is contained in:
parent
4ccad26bb7
commit
79249692e3
|
@ -0,0 +1,13 @@
|
||||||
|
FROM centos:7
|
||||||
|
MAINTAINER "xingdian" <xingdian@gmail.com>
|
||||||
|
ENV TZ=Asia/Shanghai
|
||||||
|
ENV LANG=en_US.UTF-8
|
||||||
|
ENV LANGUAGE=en_US:en
|
||||||
|
ENV LC_ALL=en_US.UTF-8
|
||||||
|
ADD jdk-8u211-linux-x64.tar.gz /usr/local/
|
||||||
|
RUN mv /usr/local/jdk1.8.0_211 /usr/local/java
|
||||||
|
ENV JAVA_HOME /usr/local/java/
|
||||||
|
ENV PATH $PATH:$JAVA_HOME/bin
|
||||||
|
COPY mayday.jar /usr/local
|
||||||
|
EXPOSE 8091
|
||||||
|
CMD java -jar /usr/local/mayday.jar
|
Loading…
Reference in New Issue