Skip to content

Commit

Permalink
Update MSSQL version
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgDangl committed Dec 4, 2024
1 parent 3c0c8da commit 2a8fd60
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#You can use this directly as your mssql-container, or just use it to create the nodirect_open.so file
#for using with an existing container like shown in docker-compose.yml
FROM mcr.microsoft.com/mssql/server:2017-latest
FROM mcr.microsoft.com/mssql/server:2022-latest
ADD nodirect_open.c /
RUN apt update && apt install -y gcc && \
gcc -shared -fpic -o /nodirect_open.so nodirect_open.c -ldl && \
apt purge -y gcc && \
echo "/nodirect_open.so" >> /etc/ld.so.preload
gcc -shared -fpic -o /nodirect_open.so nodirect_open.c -ldl && \
apt purge -y gcc && \
echo "/nodirect_open.so" >> /etc/ld.so.preload

0 comments on commit 2a8fd60

Please sign in to comment.