FROM openjdk:11-jre MAINTAINER 313DEVGRP <313@313.co.kr> #RUN apt-get update #RUN apt-get -y -q install libpcap0.8 wget procps RUN wget http://www.313.co.kr/nexus/repository/ple-releases/313devgrp/elastic-apm-agent/1.47.1/elastic-apm-agent-1.47.1.jar RUN mv elastic-apm-agent-1.47.1.jar ./elastic-apm-agent.jar VOLUME /tmp ARG ENTRY_FILE COPY ${ENTRY_FILE} docker-entrypoint.sh ARG JAR_FILE COPY ${JAR_FILE} javaServiceTreeFramework.jar RUN chmod +x /docker-entrypoint.sh #SaaS 일 경우 활성화 RUN wget http://www.313.co.kr/nexus/repository/ple-releases/313devgrp/cert_313/2024/cert_313-2024.tar.gz RUN tar zxvf cert_313-2024.tar.gz RUN wget http://www.313.co.kr/nexus/repository/ple-releases/313devgrp/cert_arms/2024/cert_arms-2024.tar.gz RUN tar zxvf cert_arms-2024.tar.gz RUN keytool -import -file ./313_co_kr/313_co_kr.crt -keystore /usr/local/openjdk-11/lib/security/cacerts -alias 313_co_kr -storepass changeit -noprompt RUN keytool -import -file ./a-rms_net/a-rms_net.crt -keystore /usr/local/openjdk-11/lib/security/cacerts -alias a-rms_net -storepass changeit -noprompt ENTRYPOINT ["sh","/docker-entrypoint.sh"] CMD ["start"]