13 lines
369 B
Plaintext
13 lines
369 B
Plaintext
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 |