chore: use build arg for image description

This commit is contained in:
Alexander Nicholson 4584443+DragonStuff@users.noreply.github.com committed 2025-09-05 09:56:42 +02:00
1 parent 99e6e46b04
commit 8608ba2520
2 files changed
+4 -3

No files matched your search

+3 -2
View File
@@ -46,9 +46,10 @@ RUN SECRET_KEY_BASE_DUMMY=1 ./bin/rails assets:precompile
FROM base
# Image metadata
LABEL org.opencontainers.image.description="Campfire is a web-based chat application with multiple rooms, direct messages, file attachments with previews, search, web push notifications, @mentions, and bot integrations. Single-tenant; production-ready image with web app, background jobs, caching, file serving, and SSL."
ARG OCI_DESCRIPTION
LABEL org.opencontainers.image.description="${OCI_DESCRIPTION}"
ARG OCI_SOURCE
LABEL org.opencontainers.image.source=${OCI_SOURCE}
LABEL org.opencontainers.image.source="${OCI_SOURCE}"
LABEL org.opencontainers.image.licenses="MIT"
# Run and own only the runtime files as a non-root user for security