# Base OS layer: Latest Ubuntu LTS
FROM ubuntu:16.04
#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 && \
apt-get install apt-transport-https && \
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.list && \
apt-get update
# Install SQL Server which a prerequisite for the optional packages below.
RUN apt-get install -y mssql-server
# Install optional packages. Comment out the ones you don't need
# 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
Content type
Image
Digest
Size
695.3 MB
Last updated
over 8 years ago
docker pull pssdev/sqlserver