feat(couchbase): expand OCI image-spec labels

Adds 5 OCI image-spec LABEL fields to couchbase Dockerfile (title,
description, created, version, source), matching proven pattern from
scribe image (commits afaa631 + 4ef74f3).

License metadata: Apache-2.0 (verified against Couchbase Server 2.5.2).
Source: https://github.com/couchbase/docker (per researcher report).
Other metadata derived from image build context.

Matching workflow OCI labels block already landed in prior commit and
will be active on next CI build.
This commit is contained in:
tiennm99 committed 2026-05-28 13:44:51 +07:00
1 parent 3a0e31b790
commit afa2930238
1 file changed
+5
+5
View File
@@ -1,6 +1,11 @@
FROM ubuntu:12.04 FROM ubuntu:12.04
LABEL maintainer="Tien Nguyen Minh <tiennm99@outlook.com>" LABEL maintainer="Tien Nguyen Minh <tiennm99@outlook.com>"
LABEL org.opencontainers.image.title="Couchbase Server 2.5"
LABEL org.opencontainers.image.description="Legacy Couchbase Server (no official upstream image)"
LABEL org.opencontainers.image.version="2.5.2"
LABEL org.opencontainers.image.source="https://github.com/couchbase/docker"
LABEL org.opencontainers.image.licenses="Apache-2.0"
RUN sed -i 's|http://archive.ubuntu.com/ubuntu/|http://old-releases.ubuntu.com/ubuntu/|g' /etc/apt/sources.list && \ RUN sed -i 's|http://archive.ubuntu.com/ubuntu/|http://old-releases.ubuntu.com/ubuntu/|g' /etc/apt/sources.list && \
sed -i 's|http://security.ubuntu.com/ubuntu|http://old-releases.ubuntu.com/ubuntu|g' /etc/apt/sources.list sed -i 's|http://security.ubuntu.com/ubuntu|http://old-releases.ubuntu.com/ubuntu|g' /etc/apt/sources.list