Skip to content

Commit 06fd3c2

Browse files
authored
Adding custom SQL Server 2019 Docker file
This Dockefile script installs Polybase, FTS with SQL Server, and tools on SQL Server 2019
1 parent 0e12922 commit 06fd3c2

File tree

1 file changed

+16
-0
lines changed
  • linux/preview/examples/mssql-polybase-fts-tools

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Base OS layer: Latest Ubuntu LTS
2+
FROM mcr.microsoft.com/mssql/server:2019-latest
3+
USER root
4+
# Install prerequistes since it is needed to get repo config for SQL server
5+
RUN apt-get update && \
6+
apt-get install -y software-properties-common && \
7+
rm -rf /var/lib/apt/lists/*
8+
RUN add-apt-repository "$(wget -qO- https://packages.microsoft.com/config/ubuntu/20.04/mssql-server-2019.list)" && \
9+
apt-get install -y mssql-server-fts && \
10+
apt-get install -y mssql-server-polybase
11+
12+
EXPOSE 1433
13+
14+
USER mssql
15+
16+
CMD ["/opt/mssql/bin/sqlservr"]

0 commit comments

Comments
 (0)