diff --git a/Dockerfile b/Dockerfile index 0a9615d..3767fcb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,12 @@ ARG PLEX_VER=1.16.3.1402-22929c8a2 ARG PLEX_SHA=58676283202f1f380c9911f8013ab8ab917a1fa0 -ARG LIBGCC1_VER=6.3.0-18+deb9u1 +ARG LIBGCC1_VER=8.3.0-6 ARG XMLSTAR_VER=1.6.1 ARG CURL_VER=curl-7_65_1 ARG ZLIB_VER=1.2.11 ARG LIBRE_VER=2.9.2 -FROM spritsail/debian-builder:stretch-slim as builder +FROM spritsail/debian-builder:buster-slim as builder ARG PLEX_VER ARG PLEX_SHA @@ -18,8 +18,6 @@ ARG LIBRE_VER ARG CURL_VER ARG ZLIB_VER -ARG MAKEFLAGS=-j2 - # Download and build zlib WORKDIR /tmp/zlib RUN curl -sSf https://www.zlib.net/zlib-$ZLIB_VER.tar.xz \ @@ -146,6 +144,7 @@ RUN curl -fsSL http://ftp.de.debian.org/debian/pool/main/g/gcc-${LIBGCC1_VER:0:1 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 update \ && apt-get -y install execstack \ && execstack -c usr/lib/*.so* \ \ diff --git a/README.md b/README.md index fab5988..1772aa4 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ [![Build Status](https://drone.spritsail.io/api/badges/spritsail/plex-media-server/status.svg?branch=pass)][drone] [![Last Build](https://api.spritsail.io/badges/lastbuild/spritsail/plex-media-server:plexpass.svg)][drone] -The _smallest*_ Plex Media Server docker image, built on barebones [spritsail/busybox](https://hub.docker.com/spritsail/busybox/) with glibc and libraries built from source. The container hosts a fully featured Plex Media Server, with almost all of the useless crap removed, resulting in the smallest container possible whilst maintaining full functionality. +The _smallest*_ Plex Media Server docker image, built on barebones [spritsail/busybox](https://hub.docker.com/r/spritsail/busybox/) with glibc and libraries built from source. The container hosts a fully featured Plex Media Server, with almost all of the useless crap removed, resulting in the smallest container possible whilst maintaining full functionality. You can find out more about the [spritsail/busybox](https://hub.docker.com/r/spritsail/busybox) base image [here](https://github.com/spritsail/busybox)