From 0889d1a5e3942634f6f32cb56677c552451c55f0 Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Fri, 7 Feb 2020 19:42:54 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20Update/move=20some=20XXXs/TODOs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 1 - build | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a8d5276..e64d29b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,7 +30,6 @@ RUN apt-get update && \ # Build Leptonica and Tesseract. -# XXX Use a multi stage build for this. RUN curl -sSL -O https://github.com/DanBloomberg/leptonica/releases/download/$LEPTONICA_VERSION/leptonica-$LEPTONICA_VERSION.tar.gz && \ tar xvzf leptonica-$LEPTONICA_VERSION.tar.gz && \ cd leptonica-$LEPTONICA_VERSION && \ diff --git a/build b/build index a425d8a..c3830b4 100755 --- a/build +++ b/build @@ -67,7 +67,7 @@ download_to() { tmpf=`mktemp 'tmp.XXXXX'` wget -O $tmpf "$download_source" mkdir -p "$unpack_to" - # XXX Unpacking relies on tar -a unpacking any tar compression, might not work everywhere? + # Unpacking relies on tar -a unpacking any tar compression tar -C "$unpack_to" -af $tmpf -xv rm -f $tmpf )