diff --git a/util/MsSql/Dockerfile b/util/MsSql/Dockerfile index 4787883478..dc5203391b 100644 --- a/util/MsSql/Dockerfile +++ b/util/MsSql/Dockerfile @@ -16,5 +16,8 @@ RUN chmod +x /entrypoint.sh \ && chmod +x /backup-db.sh RUN /opt/mssql/bin/mssql-conf set telemetry.customerfeedback false +# As the setting above does not work, let's use the workaround below +RUN echo 127.0.0.1 settings-win.data.microsoft.com >> /etc/hosts +RUN echo 127.0.0.1 vortex.data.microsoft.com >> /etc/hosts ENTRYPOINT ["/entrypoint.sh"] diff --git a/util/MsSql/entrypoint.sh b/util/MsSql/entrypoint.sh index 8990680231..c54e8637ba 100644 --- a/util/MsSql/entrypoint.sh +++ b/util/MsSql/entrypoint.sh @@ -66,9 +66,4 @@ chown $USERNAME:$GROUPNAME /backup-db.sql env >> /etc/environment cron -# Workaround to disable mssql telemetry - -echo "127.0.0.1 settings-win.data.microsoft.com" >> /etc/hosts -echo "127.0.0.1 vortex.data.microsoft.com" >> /etc/hosts - gosu $USERNAME:$GROUPNAME /opt/mssql/bin/sqlservr