Skip to content

Commit 843a39a

Browse files
committed
Fix pkg-latest build: add mlock env and sqlite symlink
1 parent cadac0c commit 843a39a

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

Containerfile.pkg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ RUN RADARR_VERSION=$(pkg info ${PKG_NAME} | sed -n 's/.*Version.*: *//p') && \
3232
RUN mkdir -p /config && \
3333
chown -R bsd:bsd /config
3434

35+
# Fix SQLite library name for .NET
36+
RUN ln -sf /usr/local/lib/libsqlite3.so /usr/local/share/radarr/bin/libe_sqlite3.so
37+
3538
# Copy service definition
3639
COPY root/ /
3740

root/etc/services.d/radarr/run.pkg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ export XDG_DATA_HOME=/config/.local/share
88
export LD_LIBRARY_PATH=/usr/local/lib
99
export CLR_OPENSSL_VERSION_OVERRIDE=35
1010
export DOTNET_SYSTEM_NET_DISABLEIPV6=1
11+
export System_Globalization_Invariant=true
12+
13+
# Signal readiness when the port is responsive
14+
s6-ready-when fetch -qo /dev/null http://localhost:7878/ping
1115

1216
cd /config
1317
exec /usr/local/bin/s6-setuidgid bsd /usr/local/share/radarr/bin/Radarr -nobrowser -data=/config

0 commit comments

Comments
 (0)