Skip to content

Commit c1c1bfc

Browse files
committed
Inital commit
1 parent e60f6fc commit c1c1bfc

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

Dockerfile

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)