2
0
mirror of https://github.com/spritsail/plex-media-server.git synced 2024-07-30 17:16:10 +00:00

Build using debian:buster

This commit is contained in:
Joe Groocock 2019-06-24 22:11:37 +01:00
parent 36c7eafe21
commit 9cebc18cc7
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -1,12 +1,12 @@
ARG PLEX_VER=1.16.2.1321-ad17d5f9e
ARG PLEX_SHA=1a7e7f7761f977a81dd5a69a83ebc9ebe6f77901
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* \
\