Demo entry 6642986

dockerfile

   

Submitted by anonymous on Sep 26, 2017 at 10:14
Language: Bash. Code size: 504 Bytes.

FROM tomcat-oracle-java-8:latest 

WORKDIR /usr/local/tomcat

RUN mkdir -p /scratch/apm_staging

RUN yum install -y hostname unzip bc

ARG REG_KEY

#ENV HTTP_PROXY="http://cn-proxy.jp.oracle.com:80" \
ENV STAGE_DIR=/scratch/apm_staging \
    DESTINATION=/usr/local/tomcat \
    REG_KEY="${REG_KEY:-RUZepcf6EJnZwFhoM41w63K-C0}"

COPY lib/WSExample.war /usr/local/tomcat/webapps/
COPY lib/apm/AgentInstall.sh /AgentInstall.sh 
COPY start.sh /start.sh

EXPOSE 8080

CMD ["/start.sh"]
	

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).