Last active
May 17, 2023 06:10
-
-
Save xhoong/4a590beeb873172781146b98a4d727a9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM mcr.microsoft.com/mssql/server:2022-latest | |
USER root | |
RUN apt-get update && \ | |
apt-get install -y software-properties-common curl && \ | |
rm -rf /var/lib/apt/lists/* | |
RUN curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - | |
RUN add-apt-repository "$(curl https://packages.microsoft.com/config/ubuntu/20.04/mssql-server-2022.list)" | |
RUN apt-get update | |
RUN apt-get install -y mssql-server-is | |
RUN echo "[TELEMETRY]\nenabled = F" > /var/opt/ssis/ssis.conf | |
RUN SSIS_PID=Express ACCEPT_EULA=Y /opt/ssis/bin/ssis-conf -n setup | |
RUN mkdir -p /home/mssql/.ssis/.system | |
RUN chmod -R 777 /home/mssql | |
RUN cp /root/.bashrc /home/mssql/.bashrc | |
RUN echo "\nexport PATH=/opt/ssis/bin:$PATH" > /home/mssql/.bashrc | |
USER mssql | |
### Reference: https://github.com/microsoft/mssql-docker/issues/213 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment