mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-05-02 17:04:28 +09:00
fix: update Dockerfile to specify MIT license directly and remove unused ARG
This commit is contained in:
parent
47d8122a7f
commit
8ddd9270b3
1
.github/workflows/publish-image.yml
vendored
1
.github/workflows/publish-image.yml
vendored
@@ -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 }}
|
||||
|
||||
@@ -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 && \
|
||||
|
||||
Reference in New Issue
Block a user