diff --git a/wildfly/src/main/docker/Dockerfile-domain b/wildfly/src/main/docker/Dockerfile-domain index 3a7ec09767..0a681ac525 100644 --- a/wildfly/src/main/docker/Dockerfile-domain +++ b/wildfly/src/main/docker/Dockerfile-domain @@ -21,7 +21,7 @@ FROM ${WILDFLY_BASE}:${WILDFLY_VERSION} LABEL maintainer="Harald Pehl " RUN /opt/jboss/wildfly/bin/add-user.sh -u admin -p admin --silent -RUN sed -e 's///' -e 's///' -e 's///' /opt/jboss/wildfly/domain/configuration/host.xml > /opt/jboss/wildfly/domain/configuration/host-insecure.xml +RUN sed -e 's///' /opt/jboss/wildfly/domain/configuration/host.xml > /opt/jboss/wildfly/domain/configuration/host-insecure.xml RUN sed -i '/allowed-origins=".*"/! s///' /opt/jboss/wildfly/domain/configuration/host*.xml RUN sed -i '/\)$/\1 auto-start="false"\2/' /opt/jboss/wildfly/domain/configuration/host*.xml RUN sed -i '/\)$/\1 auto-start="false"\2/' /opt/jboss/wildfly/domain/configuration/host*.xml diff --git a/wildfly/src/main/docker/Dockerfile-domain-development b/wildfly/src/main/docker/Dockerfile-domain-development index f01f5485eb..35c8ccf57e 100644 --- a/wildfly/src/main/docker/Dockerfile-domain-development +++ b/wildfly/src/main/docker/Dockerfile-domain-development @@ -32,7 +32,7 @@ RUN tar xf /wildfly-${WILDFLY_VERSION}.tar.gz --directory=/ \ USER jboss RUN /opt/jboss/wildfly/bin/add-user.sh -u admin -p admin --silent -RUN sed -e 's///' -e 's///' -e 's///' /opt/jboss/wildfly/domain/configuration/host.xml > /opt/jboss/wildfly/domain/configuration/host-insecure.xml +RUN sed -e 's///' /opt/jboss/wildfly/domain/configuration/host.xml > /opt/jboss/wildfly/domain/configuration/host-insecure.xml RUN sed -i '/allowed-origins=".*"/! s///' /opt/jboss/wildfly/domain/configuration/host*.xml RUN sed -i '/\)$/\1 auto-start="false"\2/' /opt/jboss/wildfly/domain/configuration/host*.xml RUN sed -i '/\)$/\1 auto-start="false"\2/' /opt/jboss/wildfly/domain/configuration/host*.xml