Created
February 4, 2018 18:44
-
-
Save mshenoy83/4aa364ae1ead50e449521fed29811ab5 to your computer and use it in GitHub Desktop.
Microsoft Sql Server Linux DockerFile with Full Text Search
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
# mssql-agent-fts-ha-tools | |
# Maintainers: Microsoft Corporation (LuisBosquez and twright-msft on GitHub) | |
# GitRepo: https://github.com/Microsoft/mssql-docker | |
# Base OS layer: Latest Ubuntu LTS + mssql-server-linux (SQL Server engine + tools) | |
FROM microsoft/mssql-server-linux | |
#Install curl since it is needed to get repo config | |
# Get official Microsoft repository configuration | |
RUN export DEBIAN_FRONTEND=noninteractive && \ | |
apt-get update && \ | |
apt-get install -y curl && \ | |
curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - && \ | |
curl https://packages.microsoft.com/config/ubuntu/16.04/mssql-server-2017.list | tee /etc/apt/sources.list.d/mssql-server-2017.list && \ | |
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