mirror of
https://github.com/fphammerle/docker-tor-proxy.git
synced 2025-10-27 02:43:35 +01:00
added image labels org.opencontainers.image.title, .source & .revision
https://github.com/fphammerle/docker-onion-service/commit/46ca6d70fb2d4570bfddac6b3f5e485183e72405 https://github.com/fphammerle/docker-onion-service/commit/aa124bde955047b2de6316ff72d6b1f76d14e3ba
This commit is contained in:
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
## [Unreleased]
|
||||
### Added
|
||||
- enabled transparent proxy, listening on port `9040` (requires netfilter rules)
|
||||
- image labels:
|
||||
- `org.opencontainers.image.revision` (git commit hash via build arg)
|
||||
- `org.opencontainers.image.source` (repo url)
|
||||
- `org.opencontainers.image.title`
|
||||
|
||||
## [4.0.0] - 2021-01-01
|
||||
### Changed
|
||||
|
||||
@@ -27,3 +27,9 @@ HEALTHCHECK CMD \
|
||||
| grep -q network-liveness=up \
|
||||
&& nslookup -port=9053 google.com localhost | grep -v NXDOMAIN | grep -q google \
|
||||
|| exit 1
|
||||
|
||||
# https://github.com/opencontainers/image-spec/blob/v1.0.1/annotations.md
|
||||
ARG REVISION=
|
||||
LABEL org.opencontainers.image.title="tor socks, dns & transparent proxy" \
|
||||
org.opencontainers.image.source="https://github.com/fphammerle/docker-tor-proxy" \
|
||||
org.opencontainers.image.revision="$REVISION"
|
||||
|
||||
Reference in New Issue
Block a user