@@ -138,19 +138,32 @@ COPY docker-entrypoint.sh /
138138
139139# Metadata
140140LABEL org.label-schema.vendor="Sudo-Bot" \
141- org.label-schema.url="https://www.openldap.org/ " \
141+ org.label-schema.url="https://github.com/sudo-bot/docker-openldap#readme " \
142142 org.label-schema.name="docker-openldap" \
143- org.label-schema.description="An openldap image" \
143+ org.label-schema.description="An OpenLDAP image" \
144144 org.label-schema.version=${RELEASE_VERSION} \
145145 org.label-schema.vcs-url="https://github.com/sudo-bot/docker-openldap.git" \
146146 org.label-schema.vcs-ref=${VCS_REF} \
147147 org.label-schema.build-date=${BUILD_DATE} \
148- org.label-schema.docker.schema-version="1.0"
148+ org.label-schema.docker.schema-version="1.0" \
149+ \
150+ com.docker.extension.publisher-url="https://github.com/sudo-bot" \
151+ \
152+ org.opencontainers.image.title="Docker OpenLDAP server" \
153+ org.opencontainers.image.authors="williamdes@wdes.fr" \
154+ org.opencontainers.image.url="https://github.com/sudo-bot/docker-openldap#readme" \
155+ org.opencontainers.image.documentation="https://github.com/sudo-bot/docker-openldap#readme" \
156+ org.opencontainers.image.source="https://github.com/sudo-bot/docker-openldap" \
157+ org.opencontainers.image.vendor="Sudo-Bot" \
158+ org.opencontainers.image.licenses="MPL-2.0" \
159+ org.opencontainers.image.created=${BUILD_DATE} \
160+ org.opencontainers.image.version=${RELEASE_VERSION} \
161+ org.opencontainers.image.revision=${VCS_REF} \
162+ org.opencontainers.image.ref.name="latest"
149163
150164# Expose default ldap and ldaps ports
151165EXPOSE 389 636
152166
153- VOLUME ["/ldif" , "/var/lib/openldap/openldap-data" ]
154- VOLUME ["/ldif" , "/var/lib/openldap/openldap-data" ]
167+ VOLUME ["/var/lib/openldap/openldap-data" ]
155168
156169ENTRYPOINT ["/docker-entrypoint.sh" ]
0 commit comments