Created
September 18, 2021 14:08
-
-
Save gabynevada/294114cc8dc73950f080026770168306 to your computer and use it in GitHub Desktop.
Docker MSSQL Server 2019 with Full Text Search (FTS) docker file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# From official Microsoft repository | |
FROM mcr.microsoft.com/mssql/server:2019-latest | |
USER root | |
RUN export DEBIAN_FRONTEND="noninteractive" | |
RUN apt-get update | |
RUN apt-get install -y curl gnupg | |
RUN curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - | |
RUN curl https://packages.microsoft.com/config/ubuntu/16.04/mssql-server-2019.list | tee /etc/apt/sources.list.d/mssql-server.list | |
RUN apt-get update | |
# Install optional packages. Comment out the ones you don't need | |
# RUN apt-get install -y mssql-server-agent | |
# RUN apt-get install -y mssql-server-ha | |
RUN apt-get install -y mssql-server-fts | |
# Run SQL Server process | |
CMD /opt/mssql/bin/sqlservr |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment