In Case you need to deploy a rails app with tiny_tds for microsoft sql server you need to add into the build_deps
RUN wget ftp://ftp.freetds.org/pub/freetds/stable/freetds-1.3.tar.gz &&
tar -xzf freetds-1.3.tar.gz &&
cd freetds-1.3 &&
./configure --prefix=/usr/local --with-tdsver=7.3 &&
make &&
make install
and finally into deployment packages
COPY --from=build_deps /usr/local/lib /usr/local/lib
rubys
2
Thanks for sharing! A sneak peek on what we are working on: GitHub - superfly/fly.io-rails: Rails support for Fly-io
Adding support for tiny_tds would be a simple matter of setting an instance variable like @tiny_tds
based on the contents of the Gemfile
here: fly.io-rails/scanner.rb at main · superfly/fly.io-rails · GitHub, and then updating the erb file that produces the Dockerfile: fly.io-rails/Dockerfile.erb at main · superfly/fly.io-rails · GitHub
Pull requests welcome!