2
0
mirror of https://github.com/spritsail/plex-media-server.git synced 2025-06-12 05:51:12 +00:00
Commit Graph

187 Commits

Author SHA1 Message Date
32734c3aa0 Build Plex on musl, from scratch
Plex now provide a first-party musl Plex build that works without any
external dependencies whatsoever. It's built with LLVM with many
compiler and linker optimisations enabled:
https://forums.plex.tv/t/plex-media-server-forum-preview-faster-and-smaller-builds-with-new-toolchain/699575

Changes for this release include:
- Drop curl, OpenSSL and zlib; they're no longer required. libcurl and
  libssl/libcrypto are provided by Plex anyway.
- Build `FROM spritsail/alpine` instead of `FROM debian` to ensure musl
  compatibility with all compiled binaries. Use `FROM scratch` for the
  resulting image. ld-musl is provided by Plex.
- Build busybox, su-exec and tini as they're no longer provided by the
  base image.
- Build binaries/libraries with standard hardening flags, including the
  popular -flto.

Signed-off-by: Joe Groocock <me@frebib.net>
2021-03-13 17:29:51 +00:00
f8aef5f2d1 Update to Plex 1.21.4.4079
Signed-off-by: Spritsail Bot <bot@spritsail.io>
2021-02-26 00:15:48 +00:00
9bcfa789da Update to Plex 1.21.3.4046
Signed-off-by: Spritsail Bot <bot@spritsail.io>
2021-02-18 00:15:48 +00:00
0f3423a80b Update to Plex 1.21.3.4021
Signed-off-by: Spritsail Bot <bot@spritsail.io>
2021-02-16 16:08:08 +00:00
a09bf8c4ff Bump Plex build on cron and attempt to push to git
This should cover 95% of cases where we'd want to bump Plex, but
autonomously. If the build fails or the tests fail we'll know about it
and can manually investigate.

Signed-off-by: Joe Groocock <me@frebib.net>
2021-02-16 16:08:03 +00:00
7867337400 Update to Plex 1.21.3.4014 2021-02-07 14:05:57 +00:00
482779329d Add update.sh convenience script
Makes updating to the latest Plex build a ton easier. The script pulls
the latest build information, updates the Dockerfile, commits and pushes
all automagically.

[CI SKIP]

Signed-off-by: Joe Groocock <me@frebib.net>
2021-02-05 09:35:27 +00:00
38184e71fb Replace multiple ADD/RUN with ADD --chmod
Reduce the layer count, and simplify the steps involved.
2021-02-05 09:27:15 +00:00
34bde0e314 Update to Plex 1.21.2.3943
Signed-off-by: Joe Groocock <me@frebib.net>
2021-01-31 09:36:55 +00:00
e1e3228ed8 Update to Plex 1.21.2.3939
Signed-off-by: Joe Groocock <jgroocock@cloudflare.com>
2021-01-27 11:17:57 +00:00
8c98127eb1 Update to curl 7.74.0
Signed-off-by: Joe Groocock <me@frebib.net>
2021-01-24 22:10:08 +00:00
6d564cf625 Update to Plex 1.21.1.3876
Signed-off-by: Joe Groocock <me@frebib.net>
2021-01-07 14:11:02 +00:00
56562b325a Update OpenSSL to 1.1.1i, fix build
Signed-off-by: Joe Groocock <me@frebib.net>
2021-01-04 11:42:30 +00:00
737c66be4b Allow MAKEFLAGS in the Plex build stage
This should speed up building significantly if MAKEFLAGS sets a -j
parameter and the build host has multiple cores.

Signed-off-by: Joe Groocock <me@frebib.net>
2021-01-04 00:31:53 +00:00
bd33ce4cb0 Build using auto-generated Docker image name
This allows running multiple builds of the same pipeline on one Docker
daemon, and also makes configuration simpler, as the  argument is
implied if not provided.

Signed-off-by: Joe Groocock <me@frebib.net>
2021-01-04 00:24:02 +00:00
675b7d2f17 Update to Plex 1.21.1.3830
Signed-off-by: Joe Groocock <me@frebib.net>
2020-12-20 22:29:03 +00:00
TBK
c508b09e49 Update to Plex 1.21.1.3795 2020-12-16 21:07:17 +01:00
6cd23e7685 Update to Plex 1.21.0.3711
Signed-off-by: Joe Groocock <me@frebib.net>
2020-12-05 10:05:39 +00:00
e00055d86a Update to Plex 1.21.0.3616
Signed-off-by: Joe Groocock <me@frebib.net>
2020-11-27 10:24:05 +00:00
4d9bf5daff Update to Plex 1.20.5.3600
Signed-off-by: Joe Groocock <me@frebib.net>
2020-11-22 12:41:13 +00:00
02bc935199 Update to Plex ver 1.20.4.3517 2020-11-08 11:09:06 +00:00
9b53a97e7d Update to Plex 1.20.2.3483
Signed-off-by: Joe Groocock <me@frebib.net>
2020-10-24 15:44:37 +01:00
TBK
3c2793cf76 Update to Plex 1.20.3.3437 2020-10-17 10:34:06 +01:00
5161d311aa Update to Plex 1.20.2.3402
Signed-off-by: Joe Groocock <me@frebib.net>
2020-10-12 10:47:11 +01:00
641be204ad Update to Plex 1.20.1.3252
Signed-off-by: Joe Groocock <me@frebib.net>
2020-09-25 10:31:42 +01:00
b0b3b48e9f Update to Plex 1.19.5.3112
Signed-off-by: Joe Groocock <me@frebib.net>
2020-07-23 10:36:56 +01:00
8277a3ce17 Update DockerHub README on push
[PUBLISH SKIP]

Signed-off-by: Joe Groocock <me@frebib.net>
2020-07-11 16:33:15 +01:00
481e41cad1 Update to Plex 1.19.4.2935
Signed-off-by: Joe Groocock <me@frebib.net>
2020-06-17 22:22:25 +01:00
b8e7923d1d Update to Plex 1.19.3.2852 2020-05-29 12:48:37 +01:00
7a57cfe257 Update to Plex 1.19.3.2843
Signed-off-by: Joe Groocock <me@frebib.net>
2020-05-23 11:04:22 +01:00
d4ed9ba80d Merge pull request #26 from TBK/1.19.3.2831-public
Update to Plex 1.19.3.283
2020-05-19 21:50:56 +01:00
TBK
31d2fe7828 Update to Plex 1.19.3.283
https://forums.plex.tv/t/plex-media-server/30447/343
2020-05-19 22:39:04 +02:00
a0e288d291 Selectively build OpenSSL components
This skips documententation generation which should significantly speed
up the build as those files are ignored anyway.

Signed-off-by: Joe Groocock <me@frebib.net>
2020-05-12 11:45:48 +01:00
fbc903e920 Fix missing curl/libssl ca-certificates
Before:
    root@b054d9b406bf /u/l/plexmediaserver> curl https://spritsail.io -I
    curl: (77) error setting certificate verify locations:
      CAfile: /etc/ssl/certs/ca-certificates.crt
      CApath: none

After:
    root@7571fd092ba1 /u/l/plexmediaserver> curl https://spritsail.io -I
    HTTP/1.1 200 OK
    Server: nginx/1.17.10
    Date: Tue, 12 May 2020 09:38:09 GMT
    Content-Type: text/html
    Content-Length: 8158
    Last-Modified: Fri, 01 Feb 2019 20:18:29 GMT
    Connection: keep-alive
    ETag: 5c54a995-1fde
    Strict-Transport-Security: max-age=63072000; includeSubDomains; preload
    X-Content-Type-Options: nosniff
    X-Frame-Options: DENY
    Accept-Ranges: bytes

Signed-off-by: Joe Groocock <me@frebib.net>
2020-05-12 10:39:40 +01:00
8762491a4f Update to Plex 1.19.3.2764
Signed-off-by: Joe Groocock <me@frebib.net>
2020-05-12 10:17:23 +01:00
ee174b3872 Update to Plex 1.19.2.2737 2020-05-01 10:56:33 +01:00
TBK
2ea565da34 Update to Plex ver 1.19.1.2701
https://forums.plex.tv/t/plex-media-server/30447/334
2020-04-24 14:05:25 +01:00
TBK
628ea0618b Update to Plex ver 1.19.1.2645
https://forums.plex.tv/t/plex-media-server/30447/332
2020-04-11 00:49:10 +02:00
331c83d114 Update to Plex ver 1.18.9.2578 2020-03-30 21:50:09 +01:00
a3661af9f6 Update to Plex ver 1.18.9.2571 2020-03-26 19:57:08 +00:00
TBK
a663d51664 Update to Plex 1.18.8.2527
https://forums.plex.tv/t/plex-media-server/30447/324
2020-03-16 20:44:57 +00:00
7acdea7199 Update to Plex ver 1.18.7.2457 2020-02-24 17:58:03 +00:00
7b3d3655f2 Update to Plex 1.18.6.2368 2020-02-14 12:50:24 +00:00
c382bca5c6 Update to Plex ver 1.18.5.2309 2020-02-03 22:26:05 +00:00
844f1f7cc3 Update to Plex ver 1.18.4.2171 2020-01-08 19:17:14 +00:00
10faecbeec Replace LibreSSL with OpenSSL to fix TheTVDB agent 2020-01-08 19:14:53 +00:00
TBK
bf9a0d52d7 Update to Plex 1.18.3.2156
https://forums.plex.tv/t/plex-media-server/30447/307
2019-12-17 22:41:43 +00:00
86e5c6efc9 Revert curl 7.67.0 as it seems to be broken 2019-11-27 22:42:38 +00:00
904345ed10 Update to Plex 1.18.2.2058 2019-11-23 11:07:02 +00:00
6946ea7d14 Update to Plex ver 1.18.2.2041-3d469cb3 2019-11-21 16:05:50 +00:00