From 8bfe55682f921bb5a08ac53ad6409a33344b142f Mon Sep 17 00:00:00 2001 From: Adam Dodman Date: Fri, 12 May 2017 01:39:07 +0100 Subject: [PATCH] Fixes for base image refactor --- Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index cea2a0a..cd6562e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,12 @@ ADD start_pms.patch /tmp/start_pms.patch WORKDIR /tmp RUN wget http://ftp.de.debian.org/debian/pool/main/g/gcc-4.9/libstdc++6_4.9.2-10_amd64.deb \ - && pkgextract libstdc++6*.deb \ + && wget http://ftp.de.debian.org/debian/pool/main/g/gcc-4.9/libgcc1_4.9.2-10_amd64.deb \ + && dpkg-deb -x libstdc++6*.deb . \ + && dpkg-deb -x libgcc1*.deb . \ + # We only need the lib files, everything else is debian junk. + && mv /tmp/usr/lib/x86_64-linux-gnu/* /lib \ + && mv /tmp/lib/x86_64-linux-gnu/* /lib \ && wget -O plexmediaserver.deb 'https://plex.tv/downloads/latest/1?channel=8&build=linux-ubuntu-x86_64&distro=ubuntu' \ && dpkg-deb -x plexmediaserver.deb . \ # Move usr/lib and start_pms. Everything else is useless