erikkaashoek / Comskip

A free commercial detector
GNU General Public License v2.0
598 stars 80 forks source link

Dockerfile not working on aarch64 platform #146

Open wasinix opened 2 years ago

wasinix commented 2 years ago

First thanks for this great piece of software. Only one small thing I noticed and want to inform you about: I was not able to build docker image with the the given Dockerfile on ARM/aarch64 Adding download of newer config.guess version for the argtable buld did solve my issue:

--- a/Dockerfile
+++ b/Dockerfile
@@ -6,11 +6,14 @@ RUN apk --no-cache add python ffmpeg tzdata bash \
 && apk --no-cache add --virtual=builddeps autoconf automake libtool git ffmpeg-dev wget tar build-base \
 && wget http://prdownloads.sourceforge.net/argtable/argtable2-13.tar.gz \
 && tar xzf argtable2-13.tar.gz \
-&& cd argtable2-13/ && ./configure && make && make install \
+&& cd argtable2-13/ \
+&& wget -O config.guess "http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess" \
+&& wget -O config.sub "http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub" \
+&& ./configure && make && make install \
 && cd /tmp && git clone git://github.com/erikkaashoek/Comskip.git \
 && cd Comskip && ./autogen.sh && ./configure && make && make install \
 && apk del builddeps \
 && rm -rf /var/cache/apk/* /tmp/* /tmp/.[!.]*

BR, Daniel