From 303dadf33dcfa9e1e07405c60dfc6e05d402117c Mon Sep 17 00:00:00 2001 From: "Shao Yu-Lung (Allen)" Date: Sun, 29 Jul 2018 12:42:13 +0800 Subject: [PATCH] fix ln: failed to create symbolic link: file exists. (#1735) #1707 --- php-fpm/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php-fpm/Dockerfile b/php-fpm/Dockerfile index 45b91d2..2fb86df 100644 --- a/php-fpm/Dockerfile +++ b/php-fpm/Dockerfile @@ -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 \