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.

21 lines
477 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
  1. FROM shihxuancheng/wildfly-base:latest
  2. # Environment variable with default value
  3. ENV WF_CONFIG="standalone.xml"
  4. LABEL maintainer="richard_shih@wanhai.com"
  5. #prepare tmp dir
  6. COPY --chown=jboss . ${JBOSS_HOME}/config
  7. #customize modules
  8. RUN cd ${JBOSS_HOME}/config/modules && ./make_modules.sh
  9. #customize settings
  10. RUN cd ${JBOSS_HOME}/config/initial && ./setup.sh
  11. #cleanup
  12. RUN rm -rf ${JBOSS_HOME}/config
  13. EXPOSE 8080 9990
  14. CMD ["sh","-c","/opt/jboss/wildfly/bin/startwf.sh"]