diff --git a/Dockerfile b/Dockerfile index e8aa38d..8d52b5d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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