fix: Add `COMPlus_EnableDiagnostics=0` ENV to container image (#231)

This is env var is required for those that have a strict security policy on running containers. I don't see a downside to enabling this otherwise.

More info here
1. https://github.com/dotnet/docs/issues/10217
2. https://github.com/dotnet/runtime/issues/96227
move-docker-to-root
Devin Buhl 4 weeks ago committed by GitHub
parent 921a4cd9eb
commit fcba2ffc42
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -15,7 +15,8 @@ FROM base-$TARGETARCH AS final
ENV PATH="${PATH}:/app/recyclarr" \
RECYCLARR_APP_DATA=/config \
CRON_SCHEDULE="@daily" \
RECYCLARR_CREATE_CONFIG=false
RECYCLARR_CREATE_CONFIG=false \
COMPlus_EnableDiagnostics=0
RUN set -ex; \
apk add --no-cache bash tzdata supercronic git tini; \

Loading…
Cancel
Save