forked from microsoft/mssql-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b5144d1
commit a01c45a
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
FROM ubuntu:16.04 | ||
|
||
# apt-get update and install required utilities | ||
RUN apt-get update && apt-get install -y \ | ||
curl apt-utils apt-transport-https debconf-utils gcc build-essential g++-5\ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# adding custom MS repository | ||
RUN curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - | ||
RUN curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list > /etc/apt/sources.list.d/mssql-release.list | ||
|
||
# Update the list of products | ||
RUN apt-get update | ||
|
||
# Install mssql-cli | ||
RUN apt-get install mssql-cli -y | ||
|
||
CMD ["/bin/bash", "-c", "sleep infinity"] |