Skip to content

Commit 897d373

Browse files
committed
Must generate a locale and set it as default
1 parent c1c1bfc commit 897d373

File tree

3 files changed

+23
-1
lines changed

3 files changed

+23
-1
lines changed

Dockerfile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,20 @@ RUN apt-get install -y curl apt-transport-https
88

99
ENV ACCEPT_EULA=Y
1010

11+
RUN locale-gen "en_US.UTF-8"
12+
1113
RUN curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - \
1214
&& curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list | tee /etc/apt/sources.list.d/msprod.list \
1315
&& apt-get update \
1416
&& apt-get install -y mssql-tools unixodbc-dev-utf16 \
1517
&& ln -sfn /opt/mssql-tools/bin/sqlcmd-13.0.1.0 /usr/bin/sqlcmd \
1618
&& ln -sfn /opt/mssql-tools/bin/bcp-13.0.1.0 /usr/bin/bcp
1719

18-
RUN apt-get remove -y curl apt-transport-https
20+
RUN apt-get remove -y curl apt-transport-https \
21+
&& apt-get autoremove -y \
22+
&& apt-get clean \
23+
&& apt-get autoclean
24+
25+
ENV LANG="en_US.UTC-8"
1926

2027
ENTRYPOINT ["/usr/bin/sqlcmd"]

LICENSE renamed to LICENSE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
BSD 2-Clause License
2+
====================
23

34
Copyright (c) 2017, Fabian Grutschus
45
All rights reserved.

REAMDE.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# fabian/sqlcmd
2+
3+
Sqlcmd – command line tool for Microsoft SQL Server.
4+
5+
## Licence
6+
7+
When using this container you accept the licences from MICROSOFT SOFTWARE LICENSE TERMS
8+
MICROSOFT ODBC DRIVER 13 FOR SQL SERVER [which can be found here](http://go.microsoft.com/fwlink/?LinkId=746838)
9+
10+
All other parts of the library are licenced under [BSD 2-Clause License](LICENSE.md).
11+
12+
## Usage
13+
14+

0 commit comments

Comments
 (0)