From 316997027c4d136530b758662f458fb5ad24bcff Mon Sep 17 00:00:00 2001 From: sparklyballs Date: Sun, 28 Aug 2016 00:07:55 +0100 Subject: [PATCH] compile shntool --- Dockerfile | 37 +++++++++++++++++++++++++++++++++---- 1 file changed, 33 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index cea26f7..25945fa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,10 +5,39 @@ MAINTAINER smdion ,sparklyballs RUN \ apk add --no-cache \ ffmpeg \ - mc && \ - apk add --no-cache --repository \ - http://nl.alpinelinux.org/alpine/edge/testing \ - shntool + mc + +# install build packages +RUN \ + apk add --no-cache --virtual=build-dependencies \ + g++ \ + gcc \ + make && \ + +# compile shntool + mkdir -p \ + /tmp/shntool && \ + curl -o \ + /tmp/shntool-src-tar.gz -L \ + http://www.etree.org/shnutils/shntool/dist/src/shntool-3.0.10.tar.gz && \ + tar xf /tmp/shntool-src-tar.gz -C \ + /tmp/shntool --strip-components=1 && \ + cd /tmp/shntool && \ + ./configure \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --mandir=/usr/share/man \ + --prefix=/usr \ + --sysconfdir=/etc && \ + make && \ + make install && \ + +# cleanup + apk del --purge \ + build-dependencies && \ + rm -rf \ + /tmp/* \ + /usr/lib/*.la # add local files COPY root/ /