Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Add opencontainer labels to Dockerfile (#1179)
Leendert de Borst8797b3b360b7
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 936bf68aa..f84b93588 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -146,10 +146,6 @@ jobs:# For branches, use branch name and branch name + short SHA for uniquenesstype=ref,event=branch,enable=${{ github.ref_type == 'branch' }}type=raw,value={{branch}}-{{sha}},enable=${{ github.ref_type == 'branch' }}- labels: |- org.opencontainers.image.source=https://github.com/aliasvault/aliasvault- org.opencontainers.image.vendor=AliasVault- org.opencontainers.image.licenses=AGPL-3.0- name: Generate tags for containersid: tags@@ -179,10 +175,7 @@ jobs:platforms: linux/amd64,linux/arm64/v8push: truetags: ${{ steps.tags.outputs.postgres }}- labels: |- ${{ steps.meta.outputs.labels }}- org.opencontainers.image.title=AliasVault PostgreSQL- org.opencontainers.image.description=PostgreSQL database for AliasVault. Part of multi-container setup and can be deployed via install.sh (see docs.aliasvault.net)+ labels: ${{ steps.meta.outputs.labels }}- name: Build and push API imageuses: docker/build-push-action@v5@@ -192,10 +185,7 @@ jobs:platforms: linux/amd64,linux/arm64/v8push: truetags: ${{ steps.tags.outputs.api }}- labels: |- ${{ steps.meta.outputs.labels }}- org.opencontainers.image.title=AliasVault API- org.opencontainers.image.description=REST API backend for AliasVault password and email alias manager. Part of multi-container setup and can be deployed via install.sh (see docs.aliasvault.net)+ labels: ${{ steps.meta.outputs.labels }}- name: Build and push Client imageuses: docker/build-push-action@v5@@ -205,10 +195,7 @@ jobs:platforms: linux/amd64,linux/arm64/v8push: truetags: ${{ steps.tags.outputs.client }}- labels: |- ${{ steps.meta.outputs.labels }}- org.opencontainers.image.title=AliasVault Client- org.opencontainers.image.description=Blazor WebAssembly client UI for AliasVault with end-to-end encryption. Part of multi-container setup and can be deployed via install.sh (see docs.aliasvault.net)+ labels: ${{ steps.meta.outputs.labels }}- name: Build and push Admin imageuses: docker/build-push-action@v5@@ -218,10 +205,7 @@ jobs:platforms: linux/amd64,linux/arm64/v8push: truetags: ${{ steps.tags.outputs.admin }}- labels: |- ${{ steps.meta.outputs.labels }}- org.opencontainers.image.title=AliasVault Admin- org.opencontainers.image.description=Admin portal for AliasVault server management. Part of multi-container setup and can be deployed via install.sh (see docs.aliasvault.net)+ labels: ${{ steps.meta.outputs.labels }}- name: Build and push Reverse Proxy imageuses: docker/build-push-action@v5@@ -231,10 +215,7 @@ jobs:platforms: linux/amd64,linux/arm64/v8push: truetags: ${{ steps.tags.outputs.reverse-proxy }}- labels: |- ${{ steps.meta.outputs.labels }}- org.opencontainers.image.title=AliasVault Reverse Proxy- org.opencontainers.image.description=Nginx reverse proxy for AliasVault multi-container deployment. Part of multi-container setup and can be deployed via install.sh (see docs.aliasvault.net)+ labels: ${{ steps.meta.outputs.labels }}- name: Build and push SMTP imageuses: docker/build-push-action@v5@@ -244,10 +225,7 @@ jobs:platforms: linux/amd64,linux/arm64/v8push: truetags: ${{ steps.tags.outputs.smtp }}- labels: |- ${{ steps.meta.outputs.labels }}- org.opencontainers.image.title=AliasVault SMTP Service- org.opencontainers.image.description=SMTP service for email alias functionality in AliasVault. Part of multi-container setup and can be deployed via install.sh (see docs.aliasvault.net)+ labels: ${{ steps.meta.outputs.labels }}- name: Build and push TaskRunner imageuses: docker/build-push-action@v5@@ -257,10 +235,7 @@ jobs:platforms: linux/amd64,linux/arm64/v8push: truetags: ${{ steps.tags.outputs.task-runner }}- labels: |- ${{ steps.meta.outputs.labels }}- org.opencontainers.image.title=AliasVault TaskRunner- org.opencontainers.image.description=Background task runner for AliasVault operations. Part of multi-container setup and can be deployed via install.sh (see docs.aliasvault.net)+ labels: ${{ steps.meta.outputs.labels }}- name: Build and push InstallCli imageuses: docker/build-push-action@v5@@ -270,10 +245,7 @@ jobs:platforms: linux/amd64,linux/arm64/v8push: truetags: ${{ steps.tags.outputs.installcli }}- labels: |- ${{ steps.meta.outputs.labels }}- org.opencontainers.image.title=AliasVault Install CLI- org.opencontainers.image.description=Installation and configuration CLI for AliasVault. Used by install.sh for setup and configuration, not deployed as part of the application stack+ labels: ${{ steps.meta.outputs.labels }}build-and-push-docker-all-in-one:if: github.event_name == 'release' || inputs.build_all_in_one@@ -322,12 +294,6 @@ jobs:# For branches, use branch name and branch name + short SHA for uniquenesstype=ref,event=branch,enable=${{ github.ref_type == 'branch' }}type=raw,value={{branch}}-{{sha}},enable=${{ github.ref_type == 'branch' }}- labels: |- org.opencontainers.image.source=https://github.com/aliasvault/aliasvault- org.opencontainers.image.vendor=AliasVault- org.opencontainers.image.licenses=AGPL-3.0- org.opencontainers.image.title=AliasVault All-in-One- org.opencontainers.image.description=Self-contained AliasVault server including web app, with all services bundled using s6-overlay. Single container solution for easy deployment (see docs.aliasvault.net).- name: Build and push all-in-one imageuses: docker/build-push-action@v5diff --git a/apps/server/AliasVault.Admin/Dockerfile b/apps/server/AliasVault.Admin/Dockerfileindex 2f1fdd9a1..030dd94fd 100644--- a/apps/server/AliasVault.Admin/Dockerfile+++ b/apps/server/AliasVault.Admin/Dockerfile@@ -19,6 +19,14 @@ RUN dotnet publish "./AliasVault.Admin.csproj" \/p:UseAppHost=falseFROM base AS final++# OCI Image Labels+LABEL org.opencontainers.image.source="https://github.com/aliasvault/aliasvault"+LABEL org.opencontainers.image.vendor="AliasVault"+LABEL org.opencontainers.image.licenses="AGPL-3.0"+LABEL org.opencontainers.image.title="AliasVault Admin"+LABEL org.opencontainers.image.description="Admin portal for AliasVault server management. Part of multi-container setup and can be deployed via install.sh (see docs.aliasvault.net)"+WORKDIR /appCOPY --from=build /app/publish .diff --git a/apps/server/AliasVault.Api/Dockerfile b/apps/server/AliasVault.Api/Dockerfileindex c607395d5..4c3041e8a 100644--- a/apps/server/AliasVault.Api/Dockerfile+++ b/apps/server/AliasVault.Api/Dockerfile@@ -16,6 +16,14 @@ RUN dotnet publish "./AliasVault.Api.csproj" \# Final stageFROM mcr.microsoft.com/dotnet/aspnet:9.0 AS final++# OCI Image Labels+LABEL org.opencontainers.image.source="https://github.com/aliasvault/aliasvault"+LABEL org.opencontainers.image.vendor="AliasVault"+LABEL org.opencontainers.image.licenses="AGPL-3.0"+LABEL org.opencontainers.image.title="AliasVault API"+LABEL org.opencontainers.image.description="REST API backend for AliasVault password and email alias manager. Part of multi-container setup and can be deployed via install.sh (see docs.aliasvault.net)"+WORKDIR /appCOPY --from=build /app/publish .diff --git a/apps/server/AliasVault.Client/Dockerfile b/apps/server/AliasVault.Client/Dockerfileindex 58e9b5e78..cd60b358b 100644--- a/apps/server/AliasVault.Client/Dockerfile+++ b/apps/server/AliasVault.Client/Dockerfile@@ -42,6 +42,14 @@ RUN dotnet publish "AliasVault.Client.csproj" \# Final stageFROM nginx:1.24.0 AS final++# OCI Image Labels+LABEL org.opencontainers.image.source="https://github.com/aliasvault/aliasvault"+LABEL org.opencontainers.image.vendor="AliasVault"+LABEL org.opencontainers.image.licenses="AGPL-3.0"+LABEL org.opencontainers.image.title="AliasVault Client"+LABEL org.opencontainers.image.description="Blazor WebAssembly client UI for AliasVault with end-to-end encryption. Part of multi-container setup and can be deployed via install.sh (see docs.aliasvault.net)"+WORKDIR /usr/share/nginx/htmlCOPY --from=publish /app/publish/wwwroot .COPY /apps/server/AliasVault.Client/nginx.conf /etc/nginx/nginx.confdiff --git a/apps/server/Databases/AliasServerDb/Dockerfile b/apps/server/Databases/AliasServerDb/Dockerfileindex 1007ccc36..a39ce6535 100644--- a/apps/server/Databases/AliasServerDb/Dockerfile+++ b/apps/server/Databases/AliasServerDb/Dockerfile@@ -1,6 +1,13 @@FROM postgres:16-alpine-# Add any custom PostgreSQL configurations if needed+# OCI Image Labels+LABEL org.opencontainers.image.source="https://github.com/aliasvault/aliasvault"+LABEL org.opencontainers.image.vendor="AliasVault"+LABEL org.opencontainers.image.licenses="AGPL-3.0"+LABEL org.opencontainers.image.title="AliasVault PostgreSQL"+LABEL org.opencontainers.image.description="PostgreSQL database for AliasVault. Part of multi-container setup and can be deployed via install.sh (see docs.aliasvault.net)"++# Add custom PostgreSQL configurationCOPY apps/server/Databases/AliasServerDb/postgresql.conf /etc/postgresql/postgresql.conf# Define database name and usernamediff --git a/apps/server/Dockerfile b/apps/server/Dockerfileindex 893be7be0..d538b9420 100644--- a/apps/server/Dockerfile+++ b/apps/server/Dockerfile@@ -1,5 +1,12 @@FROM nginx:alpine+# OCI Image Labels+LABEL org.opencontainers.image.source="https://github.com/aliasvault/aliasvault"+LABEL org.opencontainers.image.vendor="AliasVault"+LABEL org.opencontainers.image.licenses="AGPL-3.0"+LABEL org.opencontainers.image.title="AliasVault Reverse Proxy"+LABEL org.opencontainers.image.description="Nginx reverse proxy for AliasVault multi-container deployment. Part of multi-container setup and can be deployed via install.sh (see docs.aliasvault.net)"+# Install OpenSSLRUN apk add --no-cache openssldiff --git a/apps/server/Services/AliasVault.SmtpService/Dockerfile b/apps/server/Services/AliasVault.SmtpService/Dockerfileindex d6022b7db..df5e90e2b 100644--- a/apps/server/Services/AliasVault.SmtpService/Dockerfile+++ b/apps/server/Services/AliasVault.SmtpService/Dockerfile@@ -17,6 +17,14 @@ RUN dotnet publish "./AliasVault.SmtpService.csproj" -c "$BUILD_CONFIGURATION" \/p:UseAppHost=falseFROM base AS final++# OCI Image Labels+LABEL org.opencontainers.image.source="https://github.com/aliasvault/aliasvault"+LABEL org.opencontainers.image.vendor="AliasVault"+LABEL org.opencontainers.image.licenses="AGPL-3.0"+LABEL org.opencontainers.image.title="AliasVault SMTP Service"+LABEL org.opencontainers.image.description="SMTP service for email alias functionality in AliasVault. Part of multi-container setup and can be deployed via install.sh (see docs.aliasvault.net)"+WORKDIR /appCOPY --from=build /app/publish .ENTRYPOINT ["dotnet", "AliasVault.SmtpService.dll"]diff --git a/apps/server/Services/AliasVault.TaskRunner/Dockerfile b/apps/server/Services/AliasVault.TaskRunner/Dockerfileindex bf89cbae3..f8f60524e 100644--- a/apps/server/Services/AliasVault.TaskRunner/Dockerfile+++ b/apps/server/Services/AliasVault.TaskRunner/Dockerfile@@ -15,6 +15,14 @@ RUN dotnet publish "./AliasVault.TaskRunner.csproj" \/p:UseAppHost=falseFROM mcr.microsoft.com/dotnet/runtime:9.0 AS final++# OCI Image Labels+LABEL org.opencontainers.image.source="https://github.com/aliasvault/aliasvault"+LABEL org.opencontainers.image.vendor="AliasVault"+LABEL org.opencontainers.image.licenses="AGPL-3.0"+LABEL org.opencontainers.image.title="AliasVault TaskRunner"+LABEL org.opencontainers.image.description="Background task runner for AliasVault operations. Part of multi-container setup and can be deployed via install.sh (see docs.aliasvault.net)"+WORKDIR /appCOPY --from=build /app/publish .ENTRYPOINT ["dotnet", "AliasVault.TaskRunner.dll"]diff --git a/apps/server/Utilities/AliasVault.InstallCli/Dockerfile b/apps/server/Utilities/AliasVault.InstallCli/Dockerfileindex 6fb1820a4..52e71dcc2 100644--- a/apps/server/Utilities/AliasVault.InstallCli/Dockerfile+++ b/apps/server/Utilities/AliasVault.InstallCli/Dockerfile@@ -17,6 +17,14 @@ RUN dotnet publish "apps/server/Utilities/AliasVault.InstallCli/AliasVault.Insta/p:UseAppHost=falseFROM base AS final++# OCI Image Labels+LABEL org.opencontainers.image.source="https://github.com/aliasvault/aliasvault"+LABEL org.opencontainers.image.vendor="AliasVault"+LABEL org.opencontainers.image.licenses="AGPL-3.0"+LABEL org.opencontainers.image.title="AliasVault Install CLI"+LABEL org.opencontainers.image.description="Installation and configuration CLI for AliasVault. Used by install.sh for setup and configuration, not deployed as part of the application stack"+WORKDIR /appCOPY --from=build /app/publish .ENTRYPOINT ["dotnet", "AliasVault.InstallCli.dll"]diff --git a/dockerfiles/all-in-one/Dockerfile b/dockerfiles/all-in-one/Dockerfileindex b06f15966..fd5b28cca 100644--- a/dockerfiles/all-in-one/Dockerfile+++ b/dockerfiles/all-in-one/Dockerfile@@ -53,6 +53,13 @@ RUN wget https://github.com/just-containers/s6-overlay/releases/download/v${S6_O# ============================================FROM mcr.microsoft.com/dotnet/aspnet:9.0-bookworm-slim+# OCI Image Labels+LABEL org.opencontainers.image.source="https://github.com/aliasvault/aliasvault"+LABEL org.opencontainers.image.vendor="AliasVault"+LABEL org.opencontainers.image.licenses="AGPL-3.0"+LABEL org.opencontainers.image.title="AliasVault All-in-One"+LABEL org.opencontainers.image.description="Self-contained AliasVault server including web app, with all services bundled using s6-overlay. Single container solution for easy deployment (see docs.aliasvault.net)."+# Copy s6-overlay from downloader stageCOPY --from=s6-downloader /*.tar.xz /tmp/diff --git a/docs/misc/release/publish-new-release/index.md b/docs/misc/release/publish-new-release/index.mdindex b13188866..5efbb6491 100644--- a/docs/misc/release/publish-new-release/index.md+++ b/docs/misc/release/publish-new-release/index.md@@ -69,11 +69,6 @@ docker buildx build --platform linux/amd64,linux/arm64/v8 \-f dockerfiles/all-in-one/Dockerfile \-t aliasvault/aliasvault:0.22.0 \-t aliasvault/aliasvault:latest \- --label "org.opencontainers.image.source=https://github.com/aliasvault/aliasvault" \- --label "org.opencontainers.image.vendor=AliasVault" \- --label "org.opencontainers.image.licenses=AGPL-3.0" \- --label "org.opencontainers.image.title=AliasVault All-in-One" \- --label "org.opencontainers.image.description=Self-contained AliasVault server including web app, with all services bundled using s6-overlay. Single container solution for easy deployment (see docs.aliasvault.net)." \--push .```@@ -88,11 +83,6 @@ docker buildx build --platform linux/amd64,linux/arm64/v8 \-f dockerfiles/all-in-one/Dockerfile \-t ghcr.io/aliasvault/aliasvault:0.22.0 \-t ghcr.io/aliasvault/aliasvault:latest \- --label "org.opencontainers.image.source=https://github.com/aliasvault/aliasvault" \- --label "org.opencontainers.image.vendor=AliasVault" \- --label "org.opencontainers.image.licenses=AGPL-3.0" \- --label "org.opencontainers.image.title=AliasVault All-in-One" \- --label "org.opencontainers.image.description=Self-contained AliasVault server including web app, with all services bundled using s6-overlay. Single container solution for easy deployment (see docs.aliasvault.net)." \--push .```