diff --git a/Dockerfile b/Dockerfile
index 6093d38..5b373e9 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -17,7 +17,7 @@ RUN \
DIGIKAM_VERSION=$(curl -s "https://invent.kde.org/graphics/digikam/-/tags?format=atom" \
| grep -m 1 -P '
(v\d\.\d\.\d)' | sed 's/\(^\s*v\|<\/title>\s*$\)//g'); \
fi && \
- curl -o /app/digikam -L \
+ curl --fail -o /app/digikam -L \
https://download.kde.org/stable/digikam/${DIGIKAM_VERSION}/digiKam-${DIGIKAM_VERSION}-x86-64.appimage && \
chmod +x /app/digikam && \
echo "**** cleanup ****" && \