Skip to content

Commit

Permalink
add notes for SQL server crash happening
Browse files Browse the repository at this point in the history
  • Loading branch information
zzzeek committed Feb 15, 2024
1 parent 97ca342 commit 1e68831
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions roles/mssql/files/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,22 @@ ARG product_version=2017
# yum clean all

# this seems to be the current working one
# crashes on ryzen1 as of 2/2024
# set kernel to 6.6:
# root@ryzen1:/home/classic# grubby --set-default /boot/vmlinuz-6.6.4-100.fc38.x86_64
# The default is /boot/loader/entries/b32bbedf9c7941f7b8f8d2970941b280-6.6.4-100.fc38.x86_64.conf with index 2 and kernel /boot/vmlinuz-6.6.4-100.fc38.x86_64
# see https://github.com/microsoft/mssql-docker/issues/868
RUN curl https://packages.microsoft.com/config/rhel/7/mssql-server-2017.repo > /etc/yum.repos.d/mssql-server-2017.repo && \
curl https://packages.microsoft.com/config/rhel/7/prod.repo > /etc/yum.repos.d/msprod.repo && \
ACCEPT_EULA=Y yum install -y mssql-server mssql-tools mssql-server-fts && \
yum clean all

# when fixed, we will use 2022:
# RUN curl https://packages.microsoft.com/config/rhel/9/mssql-server-2022.repo > /etc/yum.repos.d/mssql-server-2022.repo && \
# curl https://packages.microsoft.com/config/rhel/9/prod.repo > /etc/yum.repos.d/msprod.repo && \
# ACCEPT_EULA=Y dnf install -y mssql-server mssql-tools mssql-server-fts && \
# dnf clean all

ENV PATH=${PATH}:/opt/mssql/bin:/opt/mssql-tools/bin

# Default SQL Server TCP/Port
Expand Down

0 comments on commit 1e68831

Please sign in to comment.