diff --git a/Dockerfile b/Dockerfile index 9743f3e14..56abe8fb1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,12 +24,21 @@ WORKDIR /home/dendrite # polylith image, only contains the polylith binary FROM dendrite-base AS image-polylith +LABEL org.opencontainers.image.title="Dendrite (Polylith)" +LABEL org.opencontainers.image.description="Next-generation Matrix homeserver written in Go" +LABEL org.opencontainers.image.source="https://github.com/matrix-org/dendrite" +LABEL org.opencontainers.image.licenses="Apache-2.0" COPY --from=build /out/dendrite-polylith-multi /usr/bin/ ENTRYPOINT ["/usr/bin/dendrite-polylith-multi"] # monolith image FROM dendrite-base AS image-monolith +LABEL org.opencontainers.image.title="Dendrite (Monolith)" +LABEL org.opencontainers.image.description="Next-generation Matrix homeserver written in Go" +LABEL org.opencontainers.image.source="https://github.com/matrix-org/dendrite" +LABEL org.opencontainers.image.licenses="Apache-2.0" + COPY --from=build /out/create-account /usr/bin/create-account COPY --from=build /out/generate-config /usr/bin/generate-config COPY --from=build /out/generate-keys /usr/bin/generate-keys