Last active
January 27, 2017 17:13
-
-
Save itn3000/08b3ffbd09e63fb9e111c67728db94cf to your computer and use it in GitHub Desktop.
Dockerfile for sqlserver client tools for linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM ubuntu:16.04 | |
| RUN apt-get update && \ | |
| apt-get install -y curl apt-transport-https && \ | |
| curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - && \ | |
| curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list | tee /etc/apt/sources.list.d/msprod.list && \ | |
| apt-get update && \ | |
| ACCEPT_EULA=Y DEBIAN_FRONTEND=noninteractive apt-get install -y mssql-tools unixodbc-dev && \ | |
| locale-gen en_US en_US.UTF-8 && \ | |
| ln -s /opt/mssql-tools/bin/sqlcmd-13.0.1.0 /usr/bin/sqlcmd && \ | |
| ln -s /opt/mssql-tools/bin/bcp-13.0.1.0 /usr/bin/bcp | |
| CMD ["/bin/bash"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment