Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .daemonless/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 6 additions & 2 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ ARG IMMICH_CLI_VERSION="latest"
FROM ghcr.io/daemonless/base-core:${BASE_TAG}
ARG FREEBSD_ARCH=amd64
ARG IMMICH_CLI_VERSION
ARG UPSTREAM_URL="https://registry.npmjs.org/@immich/cli/latest"
ARG UPSTREAM_JQ=".version"

LABEL org.opencontainers.image.title="immich-cli" \
org.opencontainers.image.description="Immich command-line client (upload/import) on FreeBSD" \
Expand All @@ -29,7 +31,9 @@ LABEL org.opencontainers.image.title="immich-cli" \
org.opencontainers.image.vendor="daemonless" \
org.opencontainers.image.authors="daemonless" \
io.daemonless.category="Tools" \
io.daemonless.arch="${FREEBSD_ARCH}"
io.daemonless.arch="${FREEBSD_ARCH}" \
io.daemonless.upstream-url="${UPSTREAM_URL}" \
io.daemonless.upstream-jq="${UPSTREAM_JQ}"

# @immich/cli is pure JavaScript — runtime deps are fastq, chokidar, fast-glob,
# lodash-es, micromatch and @immich/sdk, none of them native — so a global npm
Expand All @@ -50,7 +54,7 @@ RUN pkg update && pkg install -y ca_root_nss node22 npm-node22 \
# Unprivileged runtime. /import is the conventional mount point for the media to
# upload (mounted read-only at run time). Server URL + key are supplied at run
# time via env (IMMICH_INSTANCE_URL, IMMICH_API_KEY) or `immich login`.
RUN chmod -R a+rX /usr/local/lib/node_modules \
RUN chmod -R a+rX /usr/local/lib/node_modules /app \
&& mkdir -p /import && chown -R bsd:bsd /import
USER bsd
WORKDIR /import
Expand Down
8 changes: 6 additions & 2 deletions Containerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ ARG IMMICH_CLI_VERSION="latest"
FROM ghcr.io/daemonless/base-core:${BASE_TAG}
ARG FREEBSD_ARCH=amd64
ARG IMMICH_CLI_VERSION
ARG UPSTREAM_URL="https://registry.npmjs.org/@immich/cli/latest"
ARG UPSTREAM_JQ=".version"

LABEL org.opencontainers.image.title="immich-cli" \
org.opencontainers.image.description="Immich command-line client (upload/import) on FreeBSD" \
Expand All @@ -23,7 +25,9 @@ LABEL org.opencontainers.image.title="immich-cli" \
org.opencontainers.image.vendor="daemonless" \
org.opencontainers.image.authors="daemonless" \
io.daemonless.category="Tools" \
io.daemonless.arch="${FREEBSD_ARCH}"
io.daemonless.arch="${FREEBSD_ARCH}" \
io.daemonless.upstream-url="${UPSTREAM_URL}" \
io.daemonless.upstream-jq="${UPSTREAM_JQ}"

# @immich/cli is pure JavaScript — runtime deps are fastq, chokidar, fast-glob,
# lodash-es, micromatch and @immich/sdk, none of them native — so a global npm
Expand All @@ -44,7 +48,7 @@ RUN pkg update && pkg install -y ca_root_nss node22 npm-node22 \
# Unprivileged runtime. /import is the conventional mount point for the media to
# upload (mounted read-only at run time). Server URL + key are supplied at run
# time via env (IMMICH_INSTANCE_URL, IMMICH_API_KEY) or `immich login`.
RUN chmod -R a+rX /usr/local/lib/node_modules \
RUN chmod -R a+rX /usr/local/lib/node_modules /app \
&& mkdir -p /import && chown -R bsd:bsd /import
USER bsd
WORKDIR /import
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ Source: dbuild templates
| **Source** | []() |

## Version Tags

| Tag | Description | Best For |
| :--- | :--- | :--- |
| `latest` | **Upstream Binary**. Built from official release. | Most users. Matches Linux Docker behavior. |
Expand All @@ -32,7 +31,7 @@ podman run --rm \

**Architectures:** amd64
**User:** `bsd` (UID/GID via PUID/PGID, defaults to 1000:1000)
**Base:** FreeBSD 15.0
**Base:** FreeBSD 15.1

---

Expand Down