From 949caf0d7133084c0a8510bffd1eb9ad9f5d1368 Mon Sep 17 00:00:00 2001 From: Jay MOULIN Date: Fri, 6 Oct 2017 19:22:31 +0000 Subject: [PATCH] fix image size --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index d598ac3..fe2db4d 100755 --- a/Dockerfile +++ b/Dockerfile @@ -5,12 +5,10 @@ MAINTAINER Jay MOULIN # archive extraction uses sevenzipjbinding library # which is compiled against libstdc++ RUN mkdir /opt/JDownloader/ -RUN apk update && \ - apk add --update libstdc++ && apk add wget --virtual .build-deps && \ +RUN apk add --update libstdc++ ffmpeg && apk add wget --virtual .build-deps && \ wget -O /opt/JDownloader/JDownloader.jar "http://installer.jdownloader.org/JDownloader.jar?$RANDOM" && chmod +x /opt/JDownloader/JDownloader.jar && \ wget -O /sbin/tini "https://github.com/krallin/tini/releases/download/v0.16.1/tini-static-armhf" --no-check-certificate && chmod +x /sbin/tini && \ - apk del wget --purge .build-deps && \ - apk add ffmpeg + apk del wget --purge .build-deps ENV LD_LIBRARY_PATH=/lib;/lib32;/usr/lib