From 318ac68114d1cfcea6542f0febcea1ece9cdcd89 Mon Sep 17 00:00:00 2001
From: chbmb <chbmb@linuxserver.io>
Date: Tue, 3 Jul 2018 21:10:52 +0100
Subject: [PATCH 1/2] Readme updated with note about vulnerability

Push new build to remove this [vulnerability](https://github.com/janeczku/calibre-web/issues/534)
---
 README.md | 1 +
 1 file changed, 1 insertion(+)

diff --git a/README.md b/README.md
index 011dd9b..439e590 100644
--- a/README.md
+++ b/README.md
@@ -99,6 +99,7 @@ To reverse proxy with our Letsencrypt docker container use the following locatio
 
 ## Versions
 
++ **03.07.18:** New build pushed, all versions below `58` have [vulnerability](https://github.com/janeczku/calibre-web/issues/534)
 + **05.01.18:** Rebase to alpine 3.7, Deprecate cpu_core routine lack of scaling.
 + **27.11.17:** Use cpu core counting routine to speed up build time.
 + **24.07.17:** Curl version for imagemagick.

From e4a7c095b8d06b7accafeda48e89ce1dda7e8d1a Mon Sep 17 00:00:00 2001
From: sparklyballs <sparklyballs@gmail.com>
Date: Tue, 3 Jul 2018 21:34:24 +0100
Subject: [PATCH 2/2] tweak grep

---
 Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Dockerfile b/Dockerfile
index cc9ead7..9f92b08 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -44,7 +44,7 @@ RUN \
 	zlib && \
  echo "**** compile imagemagic ****" && \
  IMAGEMAGICK_VER=$(curl --silent http://www.imagemagick.org/download/digest.rdf \
-	| grep ImageMagick-6.*tar.xz | sed 's/\(.*\).tar.*/\1/' \
+	| grep ImageMagick-6.*tar.gz | sed 's/\(.*\).tar.*/\1/' \
 	| sed 's/^.*ImageMagick-/ImageMagick-/') && \
  mkdir -p \
 	/tmp/imagemagick && \