diff --git a/Dockerfile b/Dockerfile
index 015bfce..d2310fa 100755
--- a/Dockerfile
+++ b/Dockerfile
@@ -4,7 +4,13 @@ ARG version=2.0.4
 
 COPY bootstrapfiles/shibui-${version}.war.sha256sum .
 
-RUN wget https://github.internet2.edu/TIER/shib-idp-ui/releases/download/v${version}/shibui-${version}.war \
+RUN yum -q -qy update \
+    && yum -qy install --setopt=tsflags=nodocs epel-release \
+    && yum -qy install curl cronie supervisor \
+    && yum clean all \
+    && rm -rf /var/cache/yum
+
+RUN curl https://github.internet2.edu/TIER/shib-idp-ui/releases/download/v${version}/shibui-${version}.war \
     && sha256sum -c shibui-${version}.war.sha256sum && mv shibui-${version}.war shibui.war
 
 # beacon env
@@ -22,12 +28,6 @@ RUN curl -O -L $CORRETTO_URL_PERM \
     && rm -r corretto-signing-key.pub $CORRETTO_RPM
 ENV JAVA_HOME=/usr/lib/jvm/java-1.17.0-amazon-corretto
 
-RUN yum -q -qy update \
-    && yum -qy install --setopt=tsflags=nodocs epel-release \
-    && yum -qy install curl cronie supervisor \
-    && yum clean all \
-    && rm -rf /var/cache/yum
-
 RUN mkdir -p /opt/shibui
 COPY shibui.war /opt/shibui/