We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e60f6fc commit c1c1bfcCopy full SHA for c1c1bfc
1 file changed
Dockerfile
@@ -0,0 +1,20 @@
1
+FROM ubuntu:16.04
2
+
3
+MAINTAINER Fabian Grutschus "f.grutschus@lubyte"
4
5
+RUN apt-get update
6
7
+RUN apt-get install -y curl apt-transport-https
8
9
+ENV ACCEPT_EULA=Y
10
11
+RUN curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - \
12
+ && curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list | tee /etc/apt/sources.list.d/msprod.list \
13
+ && apt-get update \
14
+ && apt-get install -y mssql-tools unixodbc-dev-utf16 \
15
+ && ln -sfn /opt/mssql-tools/bin/sqlcmd-13.0.1.0 /usr/bin/sqlcmd \
16
+ && ln -sfn /opt/mssql-tools/bin/bcp-13.0.1.0 /usr/bin/bcp
17
18
+RUN apt-get remove -y curl apt-transport-https
19
20
+ENTRYPOINT ["/usr/bin/sqlcmd"]
0 commit comments