fix: update Dockerfile to specify MIT license directly and remove unused ARG

This commit is contained in:
Alexander Nicholson 4584443+DragonStuff@users.noreply.github.com
2025-09-05 09:39:49 +02:00
parent 47d8122a7f
commit 8ddd9270b3
2 changed files with 1 additions and 3 deletions

View File

@@ -90,7 +90,6 @@ jobs:
file: Dockerfile
build-args: |
OCI_SOURCE=${{ steps.vars.outputs.source_url }}
OCI_LICENSE=MIT
platforms: ${{ matrix.platform }}
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}

View File

@@ -48,9 +48,8 @@ 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_SOURCE
ARG OCI_LICENSE
LABEL org.opencontainers.image.source=${OCI_SOURCE}
LABEL org.opencontainers.image.licenses=${OCI_LICENSE}
LABEL org.opencontainers.image.licenses="MIT"
# Run and own only the runtime files as a non-root user for security
RUN groupadd --system --gid 1000 rails && \