-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathContainerfile
More file actions
28 lines (23 loc) · 1.08 KB
/
Containerfile
File metadata and controls
28 lines (23 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
ARG BASE_VERSION=15
FROM ghcr.io/daemonless/base:${BASE_VERSION}
ARG FREEBSD_ARCH=amd64
ARG PACKAGES="sqlite3 icu libunwind libinotify libiconv krb5 ca_root_nss compat13x-amd64 openssl"
LABEL org.opencontainers.image.title="arr-base" \
org.opencontainers.image.description="Common base image for *arr applications on FreeBSD" \
org.opencontainers.image.source="https://github.com/daemonless/arr-base" \
org.opencontainers.image.vendor="daemonless" \
org.opencontainers.image.authors="daemonless" \
io.daemonless.type="base" \
io.daemonless.category="Base" \
io.daemonless.packages="${PACKAGES}" \
org.freebsd.jail.allow.mlock="required"
# Install common .NET dependencies required by Servarr apps
RUN pkg update && \
pkg install -y ${PACKAGES} && \
pkg clean -ay && \
rm -rf /var/cache/pkg/* /var/db/pkg/repos/*
# Create SQLite symlink for .NET interop and update linker cache
RUN ln -sf libsqlite3.so /usr/local/lib/libe_sqlite3.so && ldconfig
# Add common init scripts if needed
COPY root/ /
COPY scripts/install-arr.sh /usr/local/bin/install-arr.sh