File tree 2 files changed +2
-23
lines changed
2 files changed +2
-23
lines changed Original file line number Diff line number Diff line change @@ -9,28 +9,7 @@ RUN apt-get update && apt-get -y install \
9
9
postgresql php-pgsql \
10
10
postgresql-15-postgis-3 \
11
11
sqlite3 php-sqlite3 \
12
- git wget gnupg2 curl
13
-
14
- # adding custom MS repository
15
- RUN curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
16
- RUN curl https://packages.microsoft.com/config/ubuntu/22.04/prod.list > /etc/apt/sources.list.d/msprod.list
17
- RUN curl https://packages.microsoft.com/config/ubuntu/22.04/mssql-server-2022.list > /etc/apt/sources.list.d/mssql-server-2022.list
18
-
19
- # install SQL Server and tools
20
- RUN apt-get update && apt-get -y install mssql-server
21
- RUN ACCEPT_EULA=Y MSSQL_PID=Express MSSQL_SA_PASSWORD=sapwd123! /opt/mssql/bin/mssql-conf setup || true
22
- RUN ACCEPT_EULA=Y apt-get install -y msodbcsql17 mssql-tools
23
-
24
- # install pdo_sqlsrv
25
- RUN apt-get -y install php-pear build-essential unixodbc-dev php-dev
26
- RUN pecl install pdo_sqlsrv
27
- RUN echo extension=pdo_sqlsrv.so > /etc/php/8.2/mods-available/pdo_sqlsrv.ini
28
- RUN phpenmod pdo_sqlsrv
29
-
30
- # install locales
31
- RUN apt-get -y install locales
32
- RUN locale-gen en_US.UTF-8
33
- RUN update-locale LANG=en_US.UTF-8
12
+ git wget
34
13
35
14
# install run script
36
15
ADD run.sh /usr/sbin/docker-run
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ CREATE EXTENSION IF NOT EXISTS postgis;
39
39
EOF
40
40
echo " done"
41
41
42
- echo -n " [3/4] Starting SQLServer 2022 ... "
42
+ echo -n " [3/4] Starting SQLServer 2019 ... "
43
43
echo " skipped"
44
44
45
45
echo -n " [4/4] Cloning PHP-CRUD-API v2 ... "
You can’t perform that action at this time.
0 commit comments