Public Repository

Last pushed: 2 years ago
Short Description
latest wildfly with mysql module and jdbc driver
Full Description

Dockerfile

FROM jboss/wildfly
COPY config/module.xml /opt/jboss/wildfly/modules/system/layers/base/com/mysql/main/module.xml
RUN ["mkdir", "-p", "/opt/jboss/wildfly/modules/system/layers/base/com/mysql/main"]
COPY driver/mysql-connector-java-5.1.35-bin.jar /opt/jboss/wildfly/modules/system/layers/base/com/mysql/main/
COPY config/standalone-mysql-datasource.xml /opt/jboss/wildfly/standalone/configuration/
RUN /opt/jboss/wildfly/bin/add-user.sh stefano wildfly --silent
CMD ["/opt/jboss/wildfly/bin/standalone.sh", "--server-config", "standalone-mysql-datasource.xml", "-b", "0.0.0.0", "-bmanagement", "0.0.0.0"]

Docker Pull Command
Owner
greatstefano

Comments (0)