Public | Automated Build

Last pushed: 23 days ago
Dockerfile
##################################################################################### # Dockerfile that provides the image for JBoss Drools Workbench 6.5.0.Final Showcase ##################################################################################### ####### BASE ############ FROM jboss/drools-workbench:6.5.0.Final-1 ####### MAINTAINER ############ MAINTAINER "Michael Biarnes Kiefer" "mbiarnes@redhat.com" ####### ENVIRONMENT ############ # Use demo and examples by default in this showcase image (internet connection required). ENV KIE_DEMO true ENV KIE_SERVER_PROFILE standalone-full-drools ####### Drools Workbench CUSTOM CONFIGURATION ############ ADD etc/standalone-full-drools.xml $JBOSS_HOME/standalone/configuration/standalone-full-drools.xml ADD etc/drools-users.properties $JBOSS_HOME/standalone/configuration/drools-users.properties ADD etc/drools-roles.properties $JBOSS_HOME/standalone/configuration/drools-roles.properties # Added files are chowned to root user, change it to the jboss one. USER root RUN chown jboss:jboss $JBOSS_HOME/standalone/configuration/standalone-full-drools.xml && \ chown jboss:jboss $JBOSS_HOME/standalone/configuration/drools-users.properties && \ chown jboss:jboss $JBOSS_HOME/standalone/configuration/drools-roles.properties # Switchback to jboss user USER jboss ####### RUNNING DROOLS-WB ############ WORKDIR $JBOSS_HOME/bin/ CMD ["./start_drools-wb.sh"]
Source Repository