From f01755faea28c57d9fa1ccfa3d2432ff0743f795 Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Tue, 23 Apr 2019 22:52:25 +0100 Subject: [PATCH 1/2] Update to Plex 1.15.4.993 --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index bcdda02..0fcc467 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ -ARG PLEX_VER=1.15.3.876-ad6e39743 -ARG PLEX_SHA=c045dbb165798109e3fb34dda99e1ecbddb46d98 +ARG PLEX_VER=1.15.4.993-bb4a2cb6c +ARG PLEX_SHA=8f45ee1587c351bf10a7076f7c461db5e8493922 ARG LIBGCC1_VER=6.3.0-18+deb9u1 ARG XMLSTAR_VER=1.6.1 -ARG CURL_VER=curl-7_64_0 +ARG CURL_VER=curl-7_64_1 ARG ZLIB_VER=1.2.11 FROM spritsail/debian-builder:stretch-slim as builder From c9e57b37881d1b7dea4b4a2e2214b88a88c08b51 Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Sat, 27 Apr 2019 11:12:12 +0100 Subject: [PATCH 2/2] Disable executable stack in shared libs. Should hopefully fix #11 --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 0fcc467..6ec4ab9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -143,6 +143,10 @@ RUN curl -fsSL http://ftp.de.debian.org/debian/pool/main/g/gcc-${LIBGCC1_VER:0:1 # Strip all unneeded symbols for optimum size RUN find -exec sh -c 'file "{}" | grep -q ELF && strip --strip-debug "{}"' \; \ + # Disable executable stack in all libraries. This should already be the case + # but it seems libgnsdk is not playing along + && apt-get -y install execstack \ + && execstack -c usr/lib/*.so* \ \ && mkdir -p /output/usr/lib /output/usr/bin \ && mv lib/x86_64-linux-gnu/*.so* \