fix ln: failed to create symbolic link: file exists. (#1735)

#1707
This commit is contained in:
Shao Yu-Lung (Allen) 2018-07-29 12:42:13 +08:00 committed by GitHub
parent 764e484599
commit 303dadf33d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -423,7 +423,7 @@ RUN set -eux; if [ ${INSTALL_MSSQL} = true ]; then \
&& ACCEPT_EULA=Y apt-get install -y unixodbc unixodbc-dev libgss3 odbcinst msodbcsql17 locales \
&& echo "en_US.UTF-8 UTF-8" > /etc/locale.gen \
# link local aliases
&& ln -s /etc/locale.alias /usr/share/locale/locale.alias \
&& ln -sfn /etc/locale.alias /usr/share/locale/locale.alias \
&& locale-gen \
# Install pdo_sqlsrv and sqlsrv from PECL. Replace pdo_sqlsrv-4.1.8preview with preferred version.
&& pecl install pdo_sqlsrv sqlsrv \