diff --git a/Dockerfile b/Dockerfile index 8754cc6b9a..aaf8cc65ee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -82,6 +82,17 @@ RUN \ FROM umputun/baseimage:app-v1.9.2 +ARG GITHUB_SHA + +LABEL org.opencontainers.image.authors="Umputun " \ + org.opencontainers.image.description="Remark42 comment engine" \ + org.opencontainers.image.documentation="https://remark42.com/docs/getting-started/" \ + org.opencontainers.image.licenses="MIT" \ + org.opencontainers.image.source="https://github.com/umputun/remark42.git" \ + org.opencontainers.image.title="Remark42" \ + org.opencontainers.image.url="https://remark42.com/" \ + org.opencontainers.image.revision="${GITHUB_SHA}" + WORKDIR /srv ADD docker-init.sh /entrypoint.sh diff --git a/README.md b/README.md index a03515f525..11ed7217ad 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Remark42 [![Build Status](https://github.com/umputun/remark42/workflows/build/badge.svg)](https://github.com/umputun/remark42/actions) [![Go Report Card](https://goreportcard.com/badge/github.com/umputun/remark42)](https://goreportcard.com/report/github.com/umputun/remark42) [![Coverage Status](https://coveralls.io/repos/github/umputun/remark42/badge.svg?branch=master)](https://coveralls.io/github/umputun/remark42?branch=master) [![codecov](https://codecov.io/gh/umputun/remark42/branch/master/graph/badge.svg)](https://app.codecov.io/gh/umputun/remark42) +# Remark42 [![Build Status](https://github.com/umputun/remark42/workflows/build/badge.svg)](https://github.com/umputun/remark42/actions) [![Image Size](https://img.shields.io/docker/image-size/umputun/remark42/master)](https://hub.docker.com/r/umputun/remark42) [![Go Report Card](https://goreportcard.com/badge/github.com/umputun/remark42)](https://goreportcard.com/report/github.com/umputun/remark42) [![Coverage Status](https://coveralls.io/repos/github/umputun/remark42/badge.svg?branch=master)](https://coveralls.io/github/umputun/remark42?branch=master) [![codecov](https://codecov.io/gh/umputun/remark42/branch/master/graph/badge.svg)](https://app.codecov.io/gh/umputun/remark42) Remark42 is a self-hosted, lightweight and simple (yet functional) comment engine, which doesn't spy on users. It can be embedded into blogs, articles, or any other place where readers add comments. diff --git a/backend/_example/memory_store/Dockerfile b/backend/_example/memory_store/Dockerfile index 6ca36d9c9e..c74898d7a6 100644 --- a/backend/_example/memory_store/Dockerfile +++ b/backend/_example/memory_store/Dockerfile @@ -7,6 +7,17 @@ RUN go build -o /build/bin/memory_store -ldflags "-X main.revision=0.0.0 -s -w" FROM umputun/baseimage:app-v1.9.2 +ARG GITHUB_SHA + +LABEL org.opencontainers.image.authors="Umputun " \ + org.opencontainers.image.description="Remark42 comment engine example JRPC memory store" \ + org.opencontainers.image.documentation="https://github.com/umputun/remark42/tree/master/backend/_example/memory_store" \ + org.opencontainers.image.licenses="MIT" \ + org.opencontainers.image.source="https://github.com/umputun/remark42.git" \ + org.opencontainers.image.title="Remark42 JRPC example memory store" \ + org.opencontainers.image.url="https://remark42.com/" \ + org.opencontainers.image.revision="${GITHUB_SHA}" + WORKDIR /srv COPY --from=build-backend /build/bin/memory_store /srv/memory_store RUN chown -R app:app /srv