1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-26 12:55:17 +01:00

remove black hole for telemetry

This commit is contained in:
Kyle Spearrin 2019-11-20 09:47:46 -05:00
parent fe3378b483
commit 8f3df46075

View File

@ -18,9 +18,6 @@ RUN chmod +x /entrypoint.sh \
&& chmod +x /backup-db.sh && chmod +x /backup-db.sh
RUN /opt/mssql/bin/mssql-conf set telemetry.customerfeedback false 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
HEALTHCHECK --timeout=3s CMD /opt/mssql-tools/bin/sqlcmd \ HEALTHCHECK --timeout=3s CMD /opt/mssql-tools/bin/sqlcmd \
-S localhost -U sa -P ${SA_PASSWORD} -Q "SELECT 1" || exit 1 -S localhost -U sa -P ${SA_PASSWORD} -Q "SELECT 1" || exit 1