mirror of
https://github.com/distribution/distribution.git
synced 2025-08-31 22:48:01 +00:00
fix: set OTEL traces to disabled by default
If you want to enable traces, you can still set the env to your collector. Signed-off-by: Pat Riehecky <riehecky@fnal.gov>
This commit is contained in:
@@ -55,6 +55,7 @@ RUN apk add --no-cache ca-certificates
|
||||
COPY cmd/registry/config-dev.yml /etc/distribution/config.yml
|
||||
COPY --from=binary /registry /bin/registry
|
||||
VOLUME ["/var/lib/registry"]
|
||||
ENV OTEL_TRACES_EXPORTER=none
|
||||
EXPOSE 5000
|
||||
ENTRYPOINT ["registry"]
|
||||
CMD ["serve", "/etc/distribution/config.yml"]
|
||||
|
Reference in New Issue
Block a user