Skip to content

Commit c423fee

Browse files
author
Yogi Valani
authored
No longer dependent on unixodbc-dev-utf16
This article discusses the fix microsoft/msphpsql#287
1 parent 4a26d95 commit c423fee

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

Dockerfile

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,20 @@ MAINTAINER Fabian Grutschus "f.grutschus@lubyte"
44

55
RUN apt-get update
66

7-
RUN apt-get install -y curl apt-transport-https
7+
RUN apt-get install -y curl apt-transport-https locales
88

99
ENV ACCEPT_EULA=Y
1010

1111
RUN locale-gen "en_US.UTF-8"
1212

1313
RUN curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - \
1414
&& curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list | tee /etc/apt/sources.list.d/msprod.list \
15-
&& apt-get update \
16-
&& apt-get install -y mssql-tools unixodbc-dev-utf16 \
17-
&& ln -sfn /opt/mssql-tools/bin/sqlcmd-13.0.1.0 /usr/bin/sqlcmd \
18-
&& ln -sfn /opt/mssql-tools/bin/bcp-13.0.1.0 /usr/bin/bcp
15+
&& apt-get update
16+
17+
RUN apt-get install -y mssql-tools unixodbc-dev
18+
19+
RUN ln -sfn /opt/mssql-tools/bin/sqlcmd /usr/bin/sqlcmd \
20+
&& ln -sfn /opt/mssql-tools/bin/bcp /usr/bin/bcp
1921

2022
RUN apt-get remove -y curl apt-transport-https \
2123
&& apt-get autoremove -y \

0 commit comments

Comments
 (0)