Skip to content

Commit 9ac8a3e

Browse files
committed
update
1 parent ca370ce commit 9ac8a3e

File tree

2 files changed

+2
-23
lines changed

2 files changed

+2
-23
lines changed

docker/debian12/Dockerfile

+1-22
Original file line numberDiff line numberDiff line change
@@ -9,28 +9,7 @@ RUN apt-get update && apt-get -y install \
99
postgresql php-pgsql \
1010
postgresql-15-postgis-3 \
1111
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
3413

3514
# install run script
3615
ADD run.sh /usr/sbin/docker-run

docker/debian12/run.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ CREATE EXTENSION IF NOT EXISTS postgis;
3939
EOF
4040
echo "done"
4141

42-
echo -n "[3/4] Starting SQLServer 2022 ... "
42+
echo -n "[3/4] Starting SQLServer 2019 ... "
4343
echo "skipped"
4444

4545
echo -n "[4/4] Cloning PHP-CRUD-API v2 ... "

0 commit comments

Comments
 (0)