mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 13:14:05 +00:00
specify odbc version
This commit is contained in:
parent
6cf8c325d4
commit
267c8b35bc
2 changed files with 8 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ RUN apt-get update \
|
||||||
&& curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - \
|
&& curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - \
|
||||||
&& curl https://packages.microsoft.com/config/ubuntu/20.04/prod.list > /etc/apt/sources.list.d/mssql-release.list \
|
&& curl https://packages.microsoft.com/config/ubuntu/20.04/prod.list > /etc/apt/sources.list.d/mssql-release.list \
|
||||||
&& apt-get update \
|
&& apt-get update \
|
||||||
&& ACCEPT_EULA=Y apt-get install -y unixodbc-dev msodbcsql17
|
&& ACCEPT_EULA=Y apt-get install -y unixodbc-dev=2.3.7 unixodbc=2.3.7 odbcinst1debian2=2.3.7 odbcinst=2.3.7 msodbcsql17
|
||||||
|
|
||||||
# set PHP version
|
# set PHP version
|
||||||
RUN update-alternatives --set php /usr/bin/php$PHP_VERSION \
|
RUN update-alternatives --set php /usr/bin/php$PHP_VERSION \
|
||||||
|
|
|
||||||
7
docker-compose-m1.override.yml
Normal file
7
docker-compose-m1.override.yml
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
services:
|
||||||
|
mysql:
|
||||||
|
platform: linux/amd64
|
||||||
|
mysql2:
|
||||||
|
platform: linux/amd64
|
||||||
|
mssql:
|
||||||
|
image: mcr.microsoft.com/azure-sql-edge
|
||||||
Loading…
Add table
Add a link
Reference in a new issue