Skip to content

Commit 89e8d1f

Browse files
committed
wget
1 parent 866ad82 commit 89e8d1f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

smoke-tests/images/servlet/src/wildfly.dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,16 @@ ENV WILDFLY_VERSION=${version}
2222
ENV DOWNLOAD_URL=${baseDownloadUrl}.tar.gz
2323
ENV JBOSS_HOME /opt/jboss/wildfly
2424

25+
# latest eclipse-temurin docker images have removed curl in favor of wget (https://github.com/adoptium/containers/issues/630)
26+
# but ibm-semeru-runtimes docker images lack wget
27+
RUN apt-get update && apt-get -y install wget
28+
2529
USER root
2630
RUN echo curl -O -L $DOWNLOAD_URL
2731
# Add the WildFly distribution to /opt, and make wildfly the owner of the extracted tar content
2832
# Make sure the distribution is available from a well-known place
2933
RUN cd $HOME \
30-
&& wget $DOWNLOAD_URL \
34+
&& wget -nv $DOWNLOAD_URL \
3135
&& tar xf wildfly-$WILDFLY_VERSION.tar.gz \
3236
&& mv $HOME/wildfly-$WILDFLY_VERSION $JBOSS_HOME \
3337
&& rm wildfly-$WILDFLY_VERSION.tar.gz \

0 commit comments

Comments
 (0)