2
0
mirror of https://github.com/spritsail/plex-media-server.git synced 2026-02-28 08:16:40 +00:00

Build tini from a newer commit

The latest release is very old and doesn't build any more on modern
systems.

https://github.com/krallin/tini/pull/233

Signed-off-by: Joe Groocock <me@frebib.net>
This commit is contained in:
2026-01-25 17:55:40 +00:00
parent e95802fe05
commit 1835684d64

View File

@@ -1,7 +1,7 @@
ARG PLEX_VER=1.43.0.10467-2b1ba6e69 ARG PLEX_VER=1.43.0.10467-2b1ba6e69
ARG BUSYBOX_VER=1.37.0 ARG BUSYBOX_VER=1.37.0
ARG SU_EXEC_VER=0.4 ARG SU_EXEC_VER=0.4
ARG TINI_VER=0.19.0 ARG TINI_VER=924c4bd6028457188942ecbfdc75e6a343fa9395
ARG ZLIB_VER=1.3.1 ARG ZLIB_VER=1.3.1
# https://sourceforge.net/p/xmlstar/bugs/135/ # https://sourceforge.net/p/xmlstar/bugs/135/
# https://bugs.gentoo.org/944765 # https://bugs.gentoo.org/944765
@@ -115,10 +115,8 @@ RUN curl -fL https://github.com/frebib/su-exec/archive/v${SU_EXEC_VER}.tar.gz \
ARG TINI_VER ARG TINI_VER
WORKDIR /tmp/tini WORKDIR /tmp/tini
RUN curl -fL https://github.com/krallin/tini/archive/v${TINI_VER}.tar.gz \ RUN curl -fL https://github.com/krallin/tini/archive/${TINI_VER}.tar.gz \
| tar xz --strip-components=1 \ | tar xz --strip-components=1 \
&& curl -fsS https://github.com/krallin/tini/commit/7c430f3eb68ebfc8a8706ab09faad6c6fa8aa13e.patch \
| git apply \
&& cmake . \ && cmake . \
&& make tini \ && make tini \
&& install -Dm755 tini "$OUTPUT/usr/sbin/tini" && install -Dm755 tini "$OUTPUT/usr/sbin/tini"