Skip to content

Instantly share code, notes, and snippets.

@gabrielrojasnyc
Created September 2, 2018 22:13
Show Gist options
  • Save gabrielrojasnyc/a014bc9e5d5a5d85223b578510237777 to your computer and use it in GitHub Desktop.
Save gabrielrojasnyc/a014bc9e5d5a5d85223b578510237777 to your computer and use it in GitHub Desktop.
PowerShell_MSSQL-CLI
FROM microsoft/powershell
LABEL version=lastest
USER root
RUN apt-get update -y
RUN apt-get install wget curl -y
# Import the public repository GPG keys
RUN wget -qO- https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
RUN curl -o /etc/apt/sources.list.d/microsoft.list https://packages.microsoft.com/config/ubuntu/16.04/prod.list
RUN apt-get update
RUN apt-get install mssql-cli -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment