We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ecc3fc7 + 45a3ea9 commit b19ea54Copy full SHA for b19ea54
jboss/container/wildfly/s2i/bash/artifacts/opt/jboss/container/wildfly/s2i/assemble.sh
@@ -9,6 +9,10 @@ function copy_server_s2i_output() {
9
mkdir -p $WILDFLY_S2I_OUTPUT_DIR
10
log_info "Copying server to $WILDFLY_S2I_OUTPUT_DIR"
11
cp -r -L $JBOSS_HOME $WILDFLY_S2I_OUTPUT_DIR/server
12
+ rm -rf $JBOSS_HOME
13
+ rm -rf /deployments/*
14
+ log_info "Linking $JBOSS_HOME to $WILDFLY_S2I_OUTPUT_DIR"
15
+ ln -s $WILDFLY_S2I_OUTPUT_DIR/server $JBOSS_HOME
16
fi
17
else
18
if [ "x$S2I_COPY_SERVER" == "xtrue" ]; then
0 commit comments