@@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
+### Added
+- image labels:
+ - `org.opencontainers.image.source` (repo url)
+ - `org.opencontainers.image.title`
## [3.0.0] - 2020-10-10
### Added
@@ -31,3 +31,7 @@ CMD ["tor", "-f", "/tmp/torrc"]
HEALTHCHECK CMD \
printf "AUTHENTICATE\nGETINFO network-liveness\nQUIT\n" | nc localhost 9051 \
| grep -q network-liveness=up || exit 1
+
+# https://github.com/opencontainers/image-spec/blob/v1.0.1/annotations.md
+LABEL org.opencontainers.image.title="tor onion service" \
+ org.opencontainers.image.source="https://github.com/fphammerle/docker-onion-service"