Skip to content

Instantly share code, notes, and snippets.

@dbafromthecold
Created November 5, 2018 19:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dbafromthecold/d8c993254b39209d5cd8f1a5de5908cd to your computer and use it in GitHub Desktop.
Save dbafromthecold/d8c993254b39209d5cd8f1a5de5908cd to your computer and use it in GitHub Desktop.
Dockerfile to install SQL Server on Centos
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