Created
November 5, 2018 19:46
-
-
Save dbafromthecold/d8c993254b39209d5cd8f1a5de5908cd to your computer and use it in GitHub Desktop.
Dockerfile to install SQL Server on Centos
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 centos | |
RUN yum update -y && yum install -y curl sudo | |
RUN sudo curl -o /etc/yum.repos.d/mssql-server.repo https://packages.microsoft.com/config/rhel/7/mssql-server-2017.repo | |
RUN yum install -y mssql-server | |
CMD /opt/mssql/bin/sqlservr |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment