mirror of
https://github.com/bitwarden/server.git
synced 2025-04-06 21:48:12 -05:00
Workaround to disable mssql telemetry in DockerFile (#294)
This commit is contained in:
parent
ffe5f37a64
commit
1b1ec7629b
@ -16,5 +16,8 @@ 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
|
||||||
|
|
||||||
ENTRYPOINT ["/entrypoint.sh"]
|
ENTRYPOINT ["/entrypoint.sh"]
|
||||||
|
@ -66,9 +66,4 @@ chown $USERNAME:$GROUPNAME /backup-db.sql
|
|||||||
env >> /etc/environment
|
env >> /etc/environment
|
||||||
cron
|
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
|
gosu $USERNAME:$GROUPNAME /opt/mssql/bin/sqlservr
|
||||||
|
Loading…
x
Reference in New Issue
Block a user