Skip to content

Commit

Permalink
Merge pull request #64 from ttilberg/freetds
Browse files Browse the repository at this point in the history
Add supporting freetds lib for required tiny_tds driver with SQL Server
  • Loading branch information
rubys authored Sep 22, 2023
2 parents 40a1f9b + e7a1f6f commit aaf401f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/generators/dockerfile_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,7 @@ def build_packages
# add databases: sqlite3, postgres, mysql
packages << "pkg-config" if options.sqlite3? || @sqlite3
packages << "libpq-dev" if options.postgresql? || @postgresql
packages << "freetds-dev" if options.sqlserver? || @sqlserver

if (options.mysql? || @mysql) && !using_trilogy?
packages << "default-libmysqlclient-dev"
Expand Down Expand Up @@ -619,6 +620,7 @@ def deploy_packages
# start with databases: sqlite3, postgres, mysql
packages << "postgresql-client" if options.postgresql? || @postgresql
packages << "default-mysql-client" if options.mysql? || @mysql
packages << "freetds-bin" if options.sqlserver? || @sqlserver
packages << "libjemalloc2" if options.jemalloc? && !options.fullstaq?
if options.sqlite3? || @sqlite3
packages << "libsqlite3-0" unless packages.include? "sqlite3"
Expand Down

0 comments on commit aaf401f

Please sign in to comment.