Skip to content

Commit

Permalink
Dockerfile against updated
Browse files Browse the repository at this point in the history
  • Loading branch information
feeelin committed Mar 15, 2024
1 parent 0629ffb commit 7bf8d8f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
13 changes: 4 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,10 @@ RUN apt-get install -y tdsodbc unixodbc-dev
RUN apt install unixodbc-bin -y
RUN apt-get clean -y

RUN apt install build-essential libgss3
RUN cd /tmp
RUN wget https://download.microsoft.com/download/2/E/5/2E58F097-805C-4AB8-9FC6-71288AB4409D/msodbcsql-13.0.0.0.tar.gz
RUN tar xzvf msodbcsql-13.0.0.0.tar.gz
RUN cd msodbcsql-13.0.0.0
RUN ./build_dm.sh
RUN cd /tmp/unixODBC.24807.30156.17882/unixODBC-2.3.1; make install
RUN cd /tmp/msodbcsql-13.0.0.0
RUN ./install.sh install
RUN apt-get install libodbc2
RUN apt-get install unixodbc-dev




RUN mkdir /web_django
Expand Down
2 changes: 1 addition & 1 deletion cinema/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
'USER': 'SA',
'PASSWORD': 'feelinMSSQL_2024',
'HOST': 'mssql.feelindev.ru',
'OPTIONS': {'driver': 'ODBC Driver 13 for SQL Server'}
'OPTIONS': {'driver': 'ODBC Driver 17 for SQL Server'}
}
}

Expand Down

0 comments on commit 7bf8d8f

Please sign in to comment.