Skip to content

Commit

Permalink
Set credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Apr 11, 2024
1 parent 4daa13d commit f16859d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions r_images/r_mssql/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ RUN apt-get update

RUN ACCEPT_EULA=Y apt-get install -y msodbcsql18

RUN R -q -e 'keyring::keyring_create("system", ""); keyring::key_set_with_value("mssql", "dm-test-user", "SA"); keyring::key_set_with_value("mssql", "dm-test-password", "YourStrong!Passw0rd")'

COPY odbc.ini /etc/odbc.ini
4 changes: 4 additions & 0 deletions r_images/r_mssql/odbc.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[dm-test]
Driver=ODBC Driver 18 for SQL Server
Server=mssql
Database=test

0 comments on commit f16859d

Please sign in to comment.