2
0
mirror of https://github.com/spritsail/plex-media-server.git synced 2024-11-05 01:16:23 +00:00
Commit Graph

59 Commits

Author SHA1 Message Date
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
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
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
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
aa35bc1082
Update to Plex ver 1.18.5.2260 2020-01-21 17:14:51 +00:00
76b32fd50f
Merge remote-tracking branch 'origin/master' into pass 2019-08-24 14:20:20 +01:00
a6fd98cb21
Update .drone.yml to 1.x 2019-08-23 22:07:45 +01:00
a52691923c
Merge remote-tracking branch 'origin/master' into pass 2019-02-13 23:20:37 +00:00
7c17e4103b
Simplify 'make' usage 2019-02-13 23:09:52 +00:00
dcebde60b0
Update Docker image tags 2019-01-06 18:32:51 +00:00
897da36c85
Update Docker image tags 2019-01-06 18:30:10 +00:00
1f0f916f64
Update publish tags 2018-09-04 21:43:20 +01:00
ada5c1e9ff
Update publish tags 2018-09-04 21:43:10 +01:00
100e95f6f9
Merge remote-tracking branch 'origin/master' into pass 2018-08-24 12:00:32 +01:00
e9d2165706
Use spritsail/drone-test for test-bin step 2018-08-24 11:56:13 +01:00
a22becf87f
Merge branch 'master' into pass 2018-08-20 00:07:15 +01:00
1ac410776e
Merge feature branch 'init-scripts' 2018-08-19 23:50:08 +01:00
b8b629552e
Bring up to date, add curl 2018-08-09 10:59:39 +01:00
6fb006928d
Use spritsail/drone-test CI step 2018-08-06 13:29:46 +01:00
73deaea454 Merge remote-tracking branch 'origin/master' into pass 2018-07-29 12:09:10 +01:00
2f04732b41 Remove redundant tag step 2018-07-29 12:00:26 +01:00
73b6f06e37
Merge upgrades from master into pass branch
commit 8a4ed82279
Author: Adam Dodman <adam@adam-ant.co.uk>
Date:   Sun Jul 8 15:04:02 2018 +0100

    Move to mutli-stage build

commit 916ae6f3b7
Author: Adam Dodman <adam@adam-ant.co.uk>
Date:   Sun Jul 8 14:30:52 2018 +0100

    Move to commit to upgrade system

commit 316c9be5f4
Author: Adam Dodman <adam@adam-ant.co.uk>
Date:   Sun Jul 8 14:29:12 2018 +0100

    Use libressl base image

commit 13ef35e687
Author: Adam Dodman <adam@adam-ant.co.uk>
Date:   Mon Jun 11 17:10:36 2018 +0100

    Move to new notify step
2018-07-08 16:57:17 +01:00
916ae6f3b7
Move to commit to upgrade system 2018-07-08 14:32:30 +01:00
13ef35e687
Move to new notify step 2018-06-11 17:27:40 +01:00
204dfa953a
Move to new notify step 2018-06-11 17:21:04 +01:00
ef8e7619df
Merge branch 'master' into pass 2018-03-17 09:21:49 +00:00
ec8a389e7c
Retry connection tests even when ECONNREFUSED 2018-03-16 15:52:07 +00:00
e5552397cf
Migrate to spritsail/plex-media-server 2018-03-16 15:26:23 +00:00
b3e5e7009b
Merge branch 'master' into pass 2017-12-15 16:49:34 +00:00
2b35049cc0
Print logs whilst sleeping in test 2017-12-15 16:48:29 +00:00
50346c96a0
Only publish on master/pass branches 2017-09-20 00:12:46 +01:00
2bc01ff2a0
Only publish on master/pass branches 2017-09-20 00:11:30 +01:00
2c31308077
Merge branch 'master' into pass 2017-09-20 00:08:35 +01:00
533a6da6f4
Pass plex version into container as build-arg 2017-09-20 00:04:10 +01:00
ec7e9b7294
Fix drone test without continuation escapes 2017-09-19 23:46:44 +01:00
0e6cb00bde
Fix drone test without continuation escapes 2017-09-19 23:44:59 +01:00
9245ceb445
Merge branch 'master' into pass 2017-09-19 23:42:50 +01:00
59c0672010
Don't bind a port on the host, it's not required 2017-09-19 23:27:14 +01:00
0048180ff5
Split large line in test step for readability
[CI SKIP]
2017-09-19 23:26:58 +01:00
Adam Dodman
46a1bae944 Update to Docker Sock passthru. Increases performance 2017-09-15 18:01:12 +01:00
Adam Dodman
a36dce1cbf Update to Docker Sock passthru. Increases performance 2017-09-15 17:47:44 +01:00
Adam Dodman
621e44a59a Add drone conditionals, fixes pull requests 2017-09-13 23:15:56 +01:00
Adam Dodman
3c19fea677 Add drone conditionals, fixes pull requests 2017-09-13 23:14:20 +01:00
ddc73340e2
Only publish images when pushed/deployed 2017-09-13 22:15:50 +01:00
f6c78d3635
Revert "Rebuild plexpass after a successful public release"
This reverts commit e1505bd365.
2017-09-13 21:50:49 +01:00
f0e0552053
Merge branch 'master' into pass 2017-08-27 16:51:29 +01:00
69a9f53e64
Fix .drone.yml formatting 2017-08-24 18:18:12 +01:00
ee78c109bb
Print identified plex version to the logs 2017-08-24 18:17:44 +01:00
e1505bd365
Rebuild plexpass after a successful public release 2017-08-24 18:17:43 +01:00
Adam Dodman
9d29d2429c Increase timeout to fix builds failing 2017-08-16 20:24:27 +01:00