22 lines
537 B
Docker
22 lines
537 B
Docker
FROM armd-jdk64:latest
|
|
|
|
MAINTAINER armd@163.com
|
|
|
|
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
|
|
|
|
RUN mkdir -p /armd-station-operation
|
|
|
|
WORKDIR /armd-station-operation
|
|
|
|
EXPOSE 7002
|
|
|
|
ADD armd-station-operation-start-3.5.1.jar ./
|
|
|
|
# 将所有配置文件复制到armd-spectrum-analysis同级目录并解压
|
|
COPY setup.tar ./
|
|
RUN ls ./
|
|
RUN tar -C ./ -xvf ./setup.tar && \
|
|
rm ./setup.tar
|
|
|
|
CMD sleep 1;java -Xms512m -Xmx1g -Dfile.encoding=utf-8 -Djava.security.egd=file:/dev/./urandom -jar armd-station-operation-start-3.5.1.jar
|