You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
627 B

6 years ago
6 years ago
6 years ago
  1. FROM ${docker_rep_url}/jboss/wildfly-tml:latest
  2. #set environment
  3. ENV JAVA_OPTS="-Dcom.wanhai.tml.yard.current=KHHW -Dsentry.dsn=http://d5756310a31a47909989df81461b1da1:bfb176b900fb498c8e3b60d31d12c23f@khhwtml02t.wanhai.com:9000/2 -Dsentry.stacktrace.app.packages=com.wanhai.tml -Dsentry.release=0.1.0 -Dsentry.environment=${profile}"
  4. #prepare tmp dir
  5. COPY --chown=jboss . ${JBOSS_HOME}/config
  6. #customize settings & cleanup
  7. RUN chmod -R 777 ${JBOSS_HOME}/config && cd ${JBOSS_HOME}/config/initial && ./setup.sh && rm -rf ${JBOSS_HOME}/config
  8. # COPY --chown=jboss WHL_TML.ear ${JBOSS_HOME}/standalone/deployments/WHL_TML.ear