Harden Docker ownership startup
This commit is contained in:
+3
-1
@@ -4088,7 +4088,9 @@ class TemplateHelperTests(unittest.TestCase):
|
||||
self.assertIn("${JELLYFIN_TV_DIR:-./jellyfin/tv}:/jellyfin/tv", compose)
|
||||
self.assertIn("${JELLYFIN_MOVIE_DIR:-./jellyfin/movies}:/jellyfin/movies", compose)
|
||||
self.assertIn("mkdir -p /downloads /jellyfin/tv /jellyfin/movies /app/.kaizoku", dockerfile)
|
||||
self.assertIn("chown \"$uid:$gid\" /downloads /jellyfin/tv /jellyfin/movies", entrypoint)
|
||||
self.assertIn("chown_path()", entrypoint)
|
||||
self.assertIn("Warning: could not change ownership", entrypoint)
|
||||
self.assertIn("for path in /downloads /jellyfin/tv /jellyfin/movies /app/.kaizoku /app/.kaizoku/home", entrypoint)
|
||||
|
||||
def test_active_code_does_not_reference_retired_metadata_source(self):
|
||||
active_files = ("app.py", "app_support.py", "http_handler.py", "provider_bridge.py", "provider_downloader.py")
|
||||
|
||||
Reference in New Issue
Block a user