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.

17 lines
650 B

7 years ago
  1. FROM jboss/wildfly
  2. # Environment variable with default value
  3. ARG APP_FILE=appfile.war
  4. RUN echo ${APP_FILE}
  5. # Add your application to the deployment folder
  6. ADD ${APP_FILE} /opt/jboss/wildfly/standalone/deployments/${APP_FILE}
  7. # Add standalone-ha.xml - set your own network settings
  8. ADD standalone-ha-1.xml /opt/jboss/wildfly/standalone/configuration/standalone-ha-1.xml
  9. ADD standalone-ha-2.xml /opt/jboss/wildfly/standalone/configuration/standalone-ha-2.xml
  10. ADD standalone-ha-3.xml /opt/jboss/wildfly/standalone/configuration/standalone-ha-3.xml
  11. # Add user for adminstration purpose
  12. RUN /opt/jboss/wildfly/bin/add-user.sh admin admin123 --silent