Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Dockerfile with rhel8 as base image #763

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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