Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions linux/mssql-tools/Dockerfile.rhel8
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# SQL Server Command Line Tools
FROM redhat/ubi8

LABEL maintainer="SQL Server Engineering Team"

# adding custom MS repository
RUN yum install -y https://packages.microsoft.com/config/rhel/8/packages-microsoft-prod.rpm

# install SQL Server drivers and tools
RUN ACCEPT_EULA=Y yum install -y msodbcsql18 mssql-tools18

# add the binary location to the $PATH
RUN echo 'export PATH="$PATH:/opt/mssql-tools18/bin"' >> ~/.bashrc
RUN /bin/bash -c "source ~/.bashrc"

CMD /bin/bash