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.

25 lines
676 B

6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
  1. FROM jboss/wildfly:11.0.0.Final
  2. # Environment variable with default value
  3. ENV WF_CONFIG="standalone.xml"
  4. ENV TZ="Asia/Taipei"
  5. #for session persistance using
  6. #ENV SESSIONDB_HOST='localhost:3306' SESSIONDB_NAME='wf_sessions' SESSIONDB_USER='session' SESSIONDB_PASS='session'
  7. LABEL maintainer="richard_shih@wanhai.com"
  8. #prepare tmp dir
  9. COPY --chown=jboss . ${JBOSS_HOME}/config
  10. #customize modules
  11. RUN cd ${JBOSS_HOME}/config/modules && ./make_modules.sh
  12. #customize settings
  13. RUN chmod -R 777 ${JBOSS_HOME}/config && cd ${JBOSS_HOME}/config/initial && ./setup.sh
  14. #cleanup
  15. RUN rm -rf ${JBOSS_HOME}/config
  16. EXPOSE 8080 9990
  17. CMD ["sh","-c","/opt/jboss/wildfly/bin/startwf.sh"]