mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-10-24 14:46:48 +09:00
chore: use build arg for image description
This commit is contained in:
1 parent
99e6e46b04
commit
8608ba2520
2 files changed
+4
-3
No files matched your search
+3
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user