25 lines
545 B
Docker
25 lines
545 B
Docker
FROM armd-jdk64:latest
|
|
|
|
MAINTAINER armd@163.com
|
|
|
|
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
|
|
|
|
COPY --from=armd-jdk64 /usr/local/jdk/lib/ /usr/local/jdk/lib/
|
|
|
|
RUN mkdir -p /armd-auto-process
|
|
|
|
WORKDIR /armd-auto-process
|
|
|
|
EXPOSE 7004
|
|
|
|
ADD armd-auto-process-start-3.5.1.jar ./
|
|
|
|
COPY setup.tar ./
|
|
RUN ls ./
|
|
RUN tar -C ./ -xvf ./setup.tar && \
|
|
rm ./setup.tar
|
|
|
|
ENV LD_LIBRARY_PATH /usr/local/jdk/lib
|
|
|
|
CMD sleep 1;java -Xms512m -Xmx1g -Dfile.encoding=utf-8 -Djava.security.egd=file:/dev/./urandom -jar armd-auto-process-start-3.5.1.jar
|