Commit Graph
100 Commits
Author SHA1 Message Date
frebib 3d87e4d45f Set correct cURL version/release-date
Signed-off-by: Joe Groocock <me@frebib.net>
2023-05-23 09:48:04 +00:00
frebib 3e75968c60 Build libnghttp2 from source
Signed-off-by: Joe Groocock <me@frebib.net>
2023-05-13 10:35:46 +00:00
frebib 492aa859d5 Bump cURL to 8.0.1 & OpenSSL to 1.1.1s
Signed-off-by: Joe Groocock <me@frebib.net>
2023-03-25 11:37:10 +00:00
frebib 5bcdaf633b Bump dependencies
Signed-off-by: Joe Groocock <me@frebib.net>
2023-01-03 20:01:14 +00:00
frebib e8dda2c9a7 Update to alpine 3.17 2023-01-03 19:50:22 +00:00
frebib f085536c27 Replace label-schema labels with opencontainers
org.label-schema.* labels are officially deprecated and replaced by the
opencontainers labels defined by the opencontainers image-spec at
https://github.com/opencontainers/image-spec/blob/main/annotations.md

Signed-off-by: Joe Groocock <me@frebib.net>
2022-12-18 19:54:16 +00:00
frebib 4579290641 Build multiarch amd64/arm64 Plex images
Signed-off-by: Adam Dodman <adam@adam-ant.co.uk>
Signed-off-by: Joe Groocock <me@frebib.net>
2022-06-19 15:03:35 +00:00
frebib 6c732a3c68 Bump curl and OpenSSL
Signed-off-by: Joe Groocock <me@frebib.net>
2022-06-13 15:52:52 +00:00
frebib 6babc845b5 Bump OpenSSL to 1.1.1l
Signed-off-by: Joe Groocock <me@frebib.net>
2021-12-12 12:23:19 +00:00
frebib 06323ec695 Build Plex on alpine 3.15
Signed-off-by: Joe Groocock <me@frebib.net>
2021-11-24 22:46:04 +00:00
frebib cb0b2ed2d3 Bump busybox and curl to latest versions
Signed-off-by: Joe Groocock <me@frebib.net>
2021-11-12 11:52:59 +00:00
frebib 074e4476a8 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

Restructure build into multiple distinct Docker build stages to better
leverage caching and significantly improve build time on multicore
systems with BuildKit, particularly with LTO enabled.

Changes for this release include:
- 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-05-04 21:38:06 +01:00
frebib 02595c5a99 Revert "Bump Plex build on cron and attempt to push to git"
This reverts commit 7dea897666.
2021-04-28 09:05:32 +01:00
frebib 7dea897666 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 15:24:53 +00:00
frebib c098b8680e 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:39:14 +00:00
frebib 5e2742b978 Replace multiple ADD/RUN with ADD --chmod
Reduce the layer count, and simplify the steps involved.
2021-02-05 09:25:48 +00:00
frebib 8654abcbb1 Update to Plex 1.21.2.3997 2021-02-05 09:25:48 +00:00
frebib 1d96502a1f Update to Plex 1.21.2.3943
Signed-off-by: Joe Groocock <me@frebib.net>
2021-01-31 09:36:42 +00:00
frebib a7eb7bec69 Update to Plex 1.21.1.3876
Signed-off-by: Joe Groocock <me@frebib.net>
2021-01-07 14:10:25 +00:00
frebib 50261e0916 Update to Plex 1.21.1.3842
Signed-off-by: Joe Groocock <me@frebib.net>
2021-01-05 11:21:20 +00:00
frebib a972a8d997 Update OpenSSL to 1.1.1i, fix build
Signed-off-by: Joe Groocock <me@frebib.net>
2021-01-04 11:41:37 +00:00
frebib 38916f886e 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:32:34 +00:00
frebib 22bc203455 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:23:22 +00:00
frebib 050f01e3b7 Update to Plex 1.21.1.3830
Signed-off-by: Joe Groocock <me@frebib.net>
2020-12-20 22:29:18 +00:00
frebib 7d861b6ed3 Update to Plex 1.21.1.3753
Signed-off-by: Joe Groocock <me@frebib.net>
2020-12-08 22:43:28 +00:00
frebib e19e734bba Update to Plex 1.21.0.3711
Signed-off-by: Joe Groocock <me@frebib.net>
2020-12-05 10:05:24 +00:00
frebib 3db8c0f13c Update to Plex 1.21.0.3616
Signed-off-by: Joe Groocock <me@frebib.net>
2020-11-27 10:23:36 +00:00
frebib e059533311 Update to Plex 1.21.0.3608
Signed-off-by: Joe Groocock <me@frebib.net>
2020-11-22 12:39:33 +00:00
frebib 7ae65928d2 Update to Plex 1.20.5.3583
Signed-off-by: Joe Groocock <me@frebib.net>
2020-11-16 10:26:40 +00:00
frebib 914037e56e Update to Plex 1.20.2.3483
Signed-off-by: Joe Groocock <me@frebib.net>
2020-10-24 15:43:32 +01:00
frebib 0bdf20fb8a Update to Plex 1.20.3.3421
Signed-off-by: Joe Groocock <me@frebib.net>
2020-10-12 10:45:51 +01:00
frebib a226d4acb7 Update to Plex 1.20.2.3402
Signed-off-by: Joe Groocock <me@frebib.net>
2020-10-03 23:41:51 +01:00
frebib 6382e7fe3a Update to Plex 1.20.2.3370
Signed-off-by: Joe Groocock <me@frebib.net>
2020-09-28 22:08:28 +01:00
frebib 44aadd3de8 Update to Plex 1.20.2.3343
Signed-off-by: Joe Groocock <me@frebib.net>
2020-09-25 10:29:55 +01:00
frebib 5cb370d5d3 Update to Plex 1.20.1.3252
Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-30 09:19:18 +01:00
frebib f4fa85fdad Update to Plex 1.20.1.3232
Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-25 18:20:01 +01:00
frebib 2a82c0202f Update to Plex 1.20.1.3213
Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-22 12:57:08 +01:00
frebib e29b537633 Update to Plex 1.20.0.3181
Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-05 12:21:36 +01:00
frebib 9635006689 Update to Plex 1.20.0.3133
Signed-off-by: Joe Groocock <me@frebib.net>
2020-07-26 13:39:26 +01:00
frebib 77908b8c3e Update to Plex 1.20.0.3125
Signed-off-by: Joe Groocock <me@frebib.net>
2020-07-23 10:39:35 +01:00
frebib 6c3b32ecb9 Update to Plex 1.19.5.3112
Signed-off-by: Joe Groocock <me@frebib.net>
2020-07-21 16:50:55 +01:00
frebib 1bb6967bdd Update to Plex 1.19.5.3035
Signed-off-by: Joe Groocock <me@frebib.net>
2020-07-04 22:24:41 +01:00
frebib 859b415f3b Update to Plex 1.19.5.3021
Signed-off-by: Joe Groocock <me@frebib.net>
2020-07-02 23:27:38 +01:00
frebib 636d6f8f5a Update to Plex 1.19.5.3006
Signed-off-by: Joe Groocock <me@frebib.net>
2020-06-29 10:50:46 +01:00
frebib 191712fa31 Update to Plex 1.19.4.2902
Signed-off-by: Joe Groocock <me@frebib.net>
2020-06-02 22:07:13 +01:00
frebib da1c470398 Update to Plex 1.19.4.2865 2020-05-29 12:51:36 +01:00
frebib 0e0dc2021e Update to Plex 1.19.4.2854
Signed-off-by: Joe Groocock <me@frebib.net>
2020-05-26 21:39:09 +01:00
frebib 7b630ea826 Merge branch 'master' into pass 2020-05-23 11:05:37 +01:00
frebib 7a57cfe257 Update to Plex 1.19.3.2843
Signed-off-by: Joe Groocock <me@frebib.net>
2020-05-23 11:04:22 +01:00
frebib e3a14167c6 Update to Plex 1.19.3.2793 2020-05-13 12:00:13 +01:00
frebib 070102213a Merge branch 'master' into pass 2020-05-12 11:47:01 +01:00
frebib 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
frebib d01ee10d24 Merge branch 'master' into pass
Signed-off-by: Joe Groocock <me@frebib.net>
2020-05-12 10:42:12 +01:00
frebib 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
frebib 8762491a4f Update to Plex 1.19.3.2764
Signed-off-by: Joe Groocock <me@frebib.net>
2020-05-12 10:17:23 +01:00
frebib ee174b3872 Update to Plex 1.19.2.2737 2020-05-01 10:56:33 +01:00
frebib b2d3c58060 Update to Plex 1.19.3.2740 2020-05-01 10:55:39 +01:00
frebib a45f004ff0 Update to Plex ver 1.19.2.2711 2020-04-28 20:07:09 +01:00
frebib 80314470cc Update to Plex 1.19.1.2630 2020-04-07 09:25:10 +01:00
frebib e2cef83b60 Update to Plex ver 1.19.1.2621 2020-04-04 15:57:17 +01:00
frebib 331c83d114 Update to Plex ver 1.18.9.2578 2020-03-30 21:50:09 +01:00
frebib f62aa25664 Update to Plex ver 1.18.9.2578 2020-03-30 21:49:40 +01:00
frebib 3c4ff757a5 Update to Plex ver 1.18.9.2571 2020-03-26 19:58:04 +00:00
frebib a3661af9f6 Update to Plex ver 1.18.9.2571 2020-03-26 19:57:08 +00:00
frebib 7acdea7199 Update to Plex ver 1.18.7.2457 2020-02-24 17:58:03 +00:00
frebib 7e02bee71e Update to Plex ver 1.18.7.2457 2020-02-24 17:57:29 +00:00
frebib 6a6048a4cd Update to Plex ver 1.18.7.2438 2020-02-21 23:08:35 +00:00
frebib 1933c09b59 Update to Plex ver 1.18.7.2434 2020-02-17 20:59:24 +00:00
frebib c382bca5c6 Update to Plex ver 1.18.5.2309 2020-02-03 22:26:05 +00:00
frebib 9fb30f578a Update to Plex ver 1.18.6.2348 2020-02-03 22:16:12 +00:00
frebib aa35bc1082 Update to Plex ver 1.18.5.2260 2020-01-21 17:14:51 +00:00
frebib 6d21675522 Merge branch 'master' into pass 2020-01-08 19:17:51 +00:00
frebib 844f1f7cc3 Update to Plex ver 1.18.4.2171 2020-01-08 19:17:14 +00:00
frebib 10faecbeec Replace LibreSSL with OpenSSL to fix TheTVDB agent 2020-01-08 19:14:53 +00:00
frebib 3a722d5215 Update to Plex 1.18.3.2129 2019-12-09 15:06:08 +00:00
frebib 86e5c6efc9 Revert curl 7.67.0 as it seems to be broken 2019-11-27 22:42:38 +00:00
frebib d989c3e3c4 Revert curl 7.67.0 as it seems to be broken 2019-11-27 22:24:19 +00:00
frebib 904345ed10 Update to Plex 1.18.2.2058 2019-11-23 11:07:02 +00:00
frebib c73dd03ef2 Update to Plex 1.18.2.2058 2019-11-23 11:06:43 +00:00
frebib 0ae0751c91 Update to Plex 1.18.2.2041 2019-11-20 19:50:55 +00:00
frebib a6fba097e0 Update to Plex 1.18.2.2015 2019-11-10 15:55:12 +00:00
frebib 308f51ce48 Update to Plex 1.18.1.1973 2019-10-29 11:21:31 +00:00
frebib ef5dc516dd Update to Plex 1.18.1.1973 2019-10-19 09:26:39 +01:00
frebib 7c7d1f34c0 Update to Plex 1.18.0.1913 2019-10-13 12:23:12 +01:00
frebib 95fabb4052 Update to Plex 1.18.0.1944 2019-10-13 12:22:10 +01:00
frebib a8a6fbee90 Update to Plex 1.18.0.1900 2019-10-08 10:43:35 +01:00
frebib 7e26b02a7f Update to Plex 1.18.0.1846 2019-10-03 11:09:43 +01:00
frebib da88643298 Update to Plex 1.18.0.1846 2019-10-03 11:09:17 +01:00
frebib 7fe23e0035 Update to Plex 1.17.0.1841 2019-10-01 20:04:07 +01:00
frebib 806c82f49a Update to Plex 1.17.0.1841 2019-10-01 20:03:23 +01:00
frebibandfrebib 5805be3b24 Update to Plex 1.17.0.1709 2019-09-17 15:25:40 +01:00
frebib 2e8a79511e Update to Plex 1.16.5.1554 2019-08-28 20:41:16 +01:00
frebib 4244100217 Update to Plex 1.16.6.1592 2019-08-28 20:38:19 +01:00
frebib 76b32fd50f Merge remote-tracking branch 'origin/master' into pass 2019-08-24 14:20:20 +01:00
frebib a26c13ae91 Fix build & general cleanup 2019-08-24 14:17:18 +01:00
frebib 7b6372871f Update to Plex 1.16.5.1488 2019-08-23 22:07:55 +01:00
frebib a6fd98cb21 Update .drone.yml to 1.x 2019-08-23 22:07:45 +01:00
frebib 0cd9b2d3a5 Download Plex first, to catch failing builds sooner 2019-08-23 21:56:13 +01:00
frebib 878dc6c1e7 Bump libxml2 and libxslt to fix compilation error 2019-08-23 21:54:46 +01:00
frebib 2cf6149887 Copy libgcc_1.so from debian-builder 2019-08-23 21:49:04 +01:00