We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df383ba commit 94d2e61Copy full SHA for 94d2e61
1 file changed
smoke-tests/images/servlet/src/wildfly.dockerfile
@@ -32,10 +32,11 @@ RUN echo curl -O -L $DOWNLOAD_URL
32
# Add the WildFly distribution to /opt, and make wildfly the owner of the extracted tar content
33
# Make sure the distribution is available from a well-known place
34
RUN cd $HOME \
35
+ && archive=$(basename "$DOWNLOAD_URL") \
36
&& wget -nv $DOWNLOAD_URL \
- && tar xf wildfly-$WILDFLY_VERSION.tar.gz \
37
+ && tar xf "$archive" \
38
&& mv $HOME/wildfly-$WILDFLY_VERSION $JBOSS_HOME \
- && rm wildfly-$WILDFLY_VERSION.tar.gz \
39
+ && rm "$archive" \
40
&& chown -R jboss:0 ${JBOSS_HOME} \
41
&& chmod -R g+rw ${JBOSS_HOME}
42
0 commit comments