Skip to content

Commit ee3f812

Browse files
authored
Merge pull request #76 from linuxserver/master-noble
2 parents 0b159f2 + e7d8124 commit ee3f812

File tree

9 files changed

+25
-22
lines changed

9 files changed

+25
-22
lines changed

Dockerfile

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# syntax=docker/dockerfile:1
22

3-
FROM ghcr.io/linuxserver/unrar:latest as unrar
3+
FROM ghcr.io/linuxserver/unrar:latest AS unrar
44

5-
FROM ghcr.io/linuxserver/baseimage-ubuntu:jammy
5+
FROM ghcr.io/linuxserver/baseimage-ubuntu:noble
66

77
# set version label
88
ARG BUILD_DATE
@@ -46,6 +46,7 @@ RUN \
4646
wheel && \
4747
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/ubuntu/ . && \
4848
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/ubuntu/ Levenshtein && \
49+
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
4950
echo "**** cleanup ****" && \
5051
apt-get -y purge \
5152
libjpeg-turbo8-dev \

Dockerfile.aarch64

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# syntax=docker/dockerfile:1
22

3-
FROM ghcr.io/linuxserver/unrar:arm64v8-latest as unrar
3+
FROM ghcr.io/linuxserver/unrar:arm64v8-latest AS unrar
44

5-
FROM ghcr.io/linuxserver/baseimage-ubuntu:arm64v8-jammy
5+
FROM ghcr.io/linuxserver/baseimage-ubuntu:arm64v8-noble
66

77
# set version label
88
ARG BUILD_DATE
@@ -46,6 +46,7 @@ RUN \
4646
wheel && \
4747
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/ubuntu/ . && \
4848
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/ubuntu/ Levenshtein && \
49+
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
4950
echo "**** cleanup ****" && \
5051
apt-get -y purge \
5152
libjpeg-turbo8-dev \

Jenkinsfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ pipeline {
3434
CI_WEB='true'
3535
CI_PORT='5299'
3636
CI_SSL='false'
37-
CI_DELAY='120'
38-
CI_DOCKERENV='TZ=US/Pacific'
39-
CI_AUTH='user:password'
37+
CI_DELAY='240'
38+
CI_DOCKERENV=''
39+
CI_AUTH=''
4040
CI_WEBPATH=''
4141
}
4242
stages {

README.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Access the webui at `http://<your-ip>:5299/home`, for more information check out
6363

6464
### Calibredb import
6565

66-
**64bit only** We have implemented the optional ability to pull in the dependencies to enable the Calibredb import program:, this means if you don't require this feature the container isn't uneccessarily bloated but should you require it, it is easily available.
66+
**64bit only** We have implemented the optional ability to pull in the dependencies to enable the Calibredb import program:, this means if you don't require this feature the container isn't unnecessarily bloated but should you require it, it is easily available.
6767
This optional layer will be rebuilt automatically on our CI pipeline upon new Calibre releases so you can stay up to date.
6868
To use this option add the optional environmental variable as detailed in the docker-mods section to pull an addition docker layer to enable ebook conversion and then in the LazyLibrarian config page (Processing:Calibredb import program:) set the path to converter tool to `/usr/bin/calibredb`
6969

@@ -77,7 +77,7 @@ You can enable it in the Web UI under Settings > Processing > External Programs
7777

7878
We have set `/books` as ***optional path***, this is because it is the easiest way to get started. While easy to use, it has some drawbacks. Mainly losing the ability to hardlink (TL;DR a way for a file to exist in multiple places on the same file system while only consuming one file worth of space), or atomic move (TL;DR instant file moves, rather than copy+delete) files while processing content.
7979

80-
Use the optional path if you dont understand, or dont want hardlinks/atomic moves.
80+
Use the optional path if you don't understand, or don't want hardlinks/atomic moves.
8181

8282
The folks over at servarr.com wrote a good [write-up](https://wiki.servarr.com/docker-guide#consistent-and-well-planned-paths) on how to get started with this.
8383

@@ -99,7 +99,7 @@ services:
9999
- TZ=Etc/UTC
100100
- DOCKER_MODS=linuxserver/mods:universal-calibre|linuxserver/mods:lazylibrarian-ffmpeg #optional
101101
volumes:
102-
- /path/to/data:/config
102+
- /path/to/lazylibrarian/data:/config
103103
- /path/to/downloads/:/downloads
104104
- /path/to/data/:/books #optional
105105
ports:
@@ -117,7 +117,7 @@ docker run -d \
117117
-e TZ=Etc/UTC \
118118
-e DOCKER_MODS=linuxserver/mods:universal-calibre|linuxserver/mods:lazylibrarian-ffmpeg `#optional` \
119119
-p 5299:5299 \
120-
-v /path/to/data:/config \
120+
-v /path/to/lazylibrarian/data:/config \
121121
-v /path/to/downloads/:/downloads \
122122
-v /path/to/data/:/books `#optional` \
123123
--restart unless-stopped \
@@ -300,6 +300,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
300300

301301
## Versions
302302

303+
* **14.08.24:** - Rebase to Ubuntu Noble.
303304
* **07.10.23:** - Install unrar from [linuxserver repo](https://github.com/linuxserver/docker-unrar). Switch to Python virtual environment. Add Levenshtein.
304305
* **10.08.23:** - Bump unrar to 6.2.10.
305306
* **01.07.23:** - Deprecate armhf. As announced [here](https://www.linuxserver.io/blog/a-farewell-to-arm-hf)

jenkins-vars.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ repo_vars:
2323
- CI_WEB='true'
2424
- CI_PORT='5299'
2525
- CI_SSL='false'
26-
- CI_DELAY='120'
27-
- CI_DOCKERENV='TZ=US/Pacific'
28-
- CI_AUTH='user:password'
29-
- CI_WEBPATH=''
26+
- CI_DELAY='240'
27+
- CI_DOCKERENV=''
28+
- CI_AUTH=''
29+
- CI_WEBPATH=''

readme-vars.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,14 @@ available_architectures:
1212
param_container_name: "{{ project_name }}"
1313
param_usage_include_vols: true
1414
param_volumes:
15-
- {vol_path: "/config", vol_host_path: "/path/to/data", desc: "LazyLibrarian config"}
15+
- {vol_path: "/config", vol_host_path: "/path/to/{{ project_name }}/data", desc: "LazyLibrarian config"}
1616
- {vol_path: "/downloads", vol_host_path: "/path/to/downloads/", desc: "Download location"}
1717
opt_param_usage_include_vols: true
1818
opt_param_volumes:
1919
- {vol_path: "/books", vol_host_path: "/path/to/data/", desc: "Books location"}
2020
param_usage_include_ports: true
2121
param_ports:
2222
- {external_port: "5299", internal_port: "5299", port_desc: "The port for the LazyLibrarian webinterface"}
23-
param_usage_include_env: true
24-
param_env_vars:
25-
- {env_var: "TZ", env_value: "Europe/London", desc: "Specify a timezone to use e.g. Europe/London"}
2623
# optional container parameters
2724
opt_param_usage_include_env: true
2825
opt_param_env_vars:
@@ -34,7 +31,7 @@ app_setup_block: |
3431
3532
### Calibredb import
3633
37-
**64bit only** We have implemented the optional ability to pull in the dependencies to enable the Calibredb import program:, this means if you don't require this feature the container isn't uneccessarily bloated but should you require it, it is easily available.
34+
**64bit only** We have implemented the optional ability to pull in the dependencies to enable the Calibredb import program:, this means if you don't require this feature the container isn't unnecessarily bloated but should you require it, it is easily available.
3835
This optional layer will be rebuilt automatically on our CI pipeline upon new Calibre releases so you can stay up to date.
3936
To use this option add the optional environmental variable as detailed in the docker-mods section to pull an addition docker layer to enable ebook conversion and then in the LazyLibrarian config page (Processing:Calibredb import program:) set the path to converter tool to `/usr/bin/calibredb`
4037
@@ -48,11 +45,12 @@ app_setup_block: |
4845
4946
We have set `/books` as ***optional path***, this is because it is the easiest way to get started. While easy to use, it has some drawbacks. Mainly losing the ability to hardlink (TL;DR a way for a file to exist in multiple places on the same file system while only consuming one file worth of space), or atomic move (TL;DR instant file moves, rather than copy+delete) files while processing content.
5047
51-
Use the optional path if you dont understand, or dont want hardlinks/atomic moves.
48+
Use the optional path if you don't understand, or don't want hardlinks/atomic moves.
5249
5350
The folks over at servarr.com wrote a good [write-up](https://wiki.servarr.com/docker-guide#consistent-and-well-planned-paths) on how to get started with this.
5451
# changelog
5552
changelogs:
53+
- {date: "14.08.24:", desc: "Rebase to Ubuntu Noble."}
5654
- {date: "07.10.23:", desc: "Install unrar from [linuxserver repo](https://github.com/linuxserver/docker-unrar). Switch to Python virtual environment. Add Levenshtein."}
5755
- {date: "10.08.23:", desc: "Bump unrar to 6.2.10."}
5856
- {date: "01.07.23:", desc: "Deprecate armhf. As announced [here](https://www.linuxserver.io/blog/a-farewell-to-arm-hf)"}

root/defaults/config.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[General]
22
logdir = /config/log
3-
destination_dir = /books
3+
ebook_dir = /books
44
download_dir = /downloads

root/etc/s6-overlay/s6-rc.d/init-lazylibrarian-config/run

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/with-contenv bash
2+
# shellcheck shell=bash
23

34
# make folders
45
mkdir -p \

root/etc/s6-overlay/s6-rc.d/svc-lazylibrarian/run

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/with-contenv bash
2+
# shellcheck shell=bash
23

34
exec \
45
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost 5299" \

0 commit comments

Comments
 (0)