File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -23,12 +23,19 @@ RUN apt-get update \
23
23
libssl-dev \
24
24
openssl \
25
25
nano \
26
- wget
26
+ wget \
27
+ curl
28
+
29
+ RUN apt-get install -y curl gnupg2 apt-transport-https && \
30
+ curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - && \
31
+ curl https://packages.microsoft.com/config/debian/9/prod.list > /etc/apt/sources.list.d/mssql-release.list && \
32
+ apt-get -y update && \
33
+ export ACCEPT_EULA=Y && apt-get -y install msodbcsql17 mssql-tools
27
34
28
35
RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
29
36
&& docker-php-ext-configure pdo_dblib --with-libdir=/lib/x86_64-linux-gnu \
30
- && pecl install sqlsrv-4.1.6.1 \
31
- && pecl install pdo_sqlsrv-4.1.6.1 \
37
+ && pecl install sqlsrv \
38
+ && pecl install pdo_sqlsrv \
32
39
&& docker-php-ext-install \
33
40
iconv \
34
41
mbstring \
You can’t perform that action at this time.
0 commit comments