Skip to content

Commit d982a65

Browse files
committed
add arch
1 parent 5bbec05 commit d982a65

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

Containerfile.pkg

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ FROM ghcr.io/daemonless/base:${BASE_VERSION}
99

1010
ARG FREEBSD_ARCH=amd64
1111
ARG PKG_NAME=radarr
12+
13+
# --- Metadata (Injected by Generator) ---
1214
LABEL org.opencontainers.image.title="Radarr" \
1315
org.opencontainers.image.description="Radarr movie management on FreeBSD." \
1416
org.opencontainers.image.source="https://github.com/daemonless/radarr" \
@@ -17,11 +19,12 @@ LABEL org.opencontainers.image.title="Radarr" \
1719
org.opencontainers.image.licenses="GPL-3.0-only" \
1820
org.opencontainers.image.vendor="daemonless" \
1921
org.opencontainers.image.authors="daemonless" \
22+
io.daemonless.category="Media Management" \
2023
io.daemonless.port="7878" \
21-
io.daemonless.arch="${FREEBSD_ARCH}" \
2224
io.daemonless.volumes="/config,/movies,/downloads" \
2325
org.freebsd.jail.allow.mlock="required" \
24-
io.daemonless.pkg-name="${PKG_NAME}"
26+
io.daemonless.pkg-name="${PKG_NAME}" \
27+
io.daemonless.arch="${FREEBSD_ARCH}"
2528

2629
# Install from FreeBSD packages
2730
RUN pkg update && \

Containerfile.pkg.j2

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ FROM ghcr.io/daemonless/base:${BASE_VERSION}
33

44
ARG FREEBSD_ARCH=amd64
55
ARG PKG_NAME=radarr
6+
7+
# --- Metadata (Injected by Generator) ---
68
LABEL org.opencontainers.image.title="{{ title }}" \
79
org.opencontainers.image.description="{{ description }}" \
810
org.opencontainers.image.source="{{ repo_url }}" \
@@ -11,17 +13,18 @@ LABEL org.opencontainers.image.title="{{ title }}" \
1113
org.opencontainers.image.licenses="GPL-3.0-only" \
1214
org.opencontainers.image.vendor="daemonless" \
1315
org.opencontainers.image.authors="daemonless" \
16+
io.daemonless.category="{{ category }}" \
1417
{%- if ports %}
1518
io.daemonless.port="{{ ports[0].port }}" \
1619
{%- endif %}
17-
io.daemonless.arch="${FREEBSD_ARCH}" \
1820
{%- if volumes %}
1921
io.daemonless.volumes="{{ volumes | map(attribute='path') | join(',') }}" \
2022
{%- endif %}
2123
{%- if mlock %}
2224
org.freebsd.jail.allow.mlock="required" \
2325
{%- endif %}
24-
io.daemonless.pkg-name="${PKG_NAME}"
26+
io.daemonless.pkg-name="${PKG_NAME}" \
27+
io.daemonless.arch="${FREEBSD_ARCH}"
2528

2629
# Install from FreeBSD packages
2730
RUN pkg update && \

0 commit comments

Comments
 (0)